hello ...
I want to create a gui which runs a c++ program
i have a code here ...
QProcess proc;
proc.start("proc.exe");
proc.waitForStarted();
proc.write("3\n"); // input from a radio button as i have switch case in my c++ program
proc.write("7\n"); // input from a radio button as i have need integer between 1-9 as cut off
proc.write("file\n"); //file upload for reading by program ....
proc.waitForFinished();
but i want the proc.write to be user defined from my gui ....
my program needs these 3 inputs from command line ...
please help ..
thanks in advance ....
Bookmarks