running external applications via QT?
Hi i am a total beginner in QT 4.5 and was wondering how one can launch an external program or file via QT?
i tried to do system() but the file(cmd.exe) does not show up...although i can see it in task manager. I also tried to run this
QProcess::execute("file path/program.exe");
but i got the same result as above.
any ideas how i can do that? So basically i want to click a button and launch an external application pr Program/file :D help would be appericiated
Re: running external applications via QT?
and the code u use to spawn ... check the QProcess::state() it may in QProcess::NotRunning
or it is emitting void QProcess::started () signal
if all above working fine .. check QProcess::readAllStandardError ()