Hi,
I'm totally new to Qt, and I'm trying to create a simple frontend for the "mencoder" video encoder using Qt Creator.
So, I use commandProcess to call "mencoder" and pass some parameters :
args << "-ovc";
args << "help";
commandProcess.start("mencoder", args);
QStringList args;
args << "-ovc";
args << "help";
commandProcess.start("mencoder", args);
To copy to clipboard, switch view to plain text mode
It works fine. Now what I don't understand is how to make this work :
args << ui->lineEditInput->text();
commandProcess.start("mplayer", args);
QStringList args;
args << ui->lineEditInput->text();
commandProcess.start("mplayer", args);
To copy to clipboard, switch view to plain text mode
As you can see in the code, I want that a user typed string of parameters entered into a lineEdit will be passed as args for commandProcess.
Any leads ?
Bookmarks