Hi All,
I want to compile a general c++ program from Qt while I click a Push button widget. How can I achieve that?
can I use shell script in Qt?
Thanks in Advance.
-Srinivas
Hi All,
I want to compile a general c++ program from Qt while I click a Push button widget. How can I achieve that?
can I use shell script in Qt?
Thanks in Advance.
-Srinivas
HI,
But using Q process I can only execute a process but I cannot compile right.
For example,
I have a program say helloworld.cpp. From the Qt application If I click on The QPushbutton I want to compile this helloworld program. How can I compile this? I did not find any oprion to compile the program using QProcess.
Compiler is a program that you can start with QProcess.
It's not a program but a source file you pass as a parameter to the compiler.I have a program say helloworld.cpp.
QProcess is not only for compiling. QProcess wouldn't be too reusable if it was aimed for compilation processes only don't you think? QProcess is used to start any external program and to communicate with it.From the Qt application If I click on The QPushbutton I want to compile this helloworld program. How can I compile this? I did not find any oprion to compile the program using QProcess.
J-P Nurmi
Bookmarks