Hi,
I am using qtcreator and having some trouble with qcheckbox. I added it using qtcreator and basically what I want to do is when the checkbox is checked, i would like QProcess (it is an external app on windows os) which is about to run, to accept an arg. So, what kind of statement would make this work? I tried a few but it didn't work yet. Please reply with precise examples thanks in advance.
Here is part of the code.
if (ui->check2pass->isChecked()){
args << "-pass"; args << "2";
}
commandProcess.start("C:/ffmpeg.exe",args);
"check2pass" is the checkbox in the gui.
Bookmarks