PDA

View Full Version : run a executable file



Ali Reza
16th June 2012, 13:54
hi all

i want execute a .exe file in my Qt application that run asynchronously , how i do it ??

best regards.

wysota
16th June 2012, 14:52
Use QProcess.

Ali Reza
17th June 2012, 09:44
thanks for reply

QProcess::execute() run a executable file in synchronously mode...
but i want run asynchronnously

thanks again...

wysota
17th June 2012, 10:39
There are other methods available in this class. Nobody told you to use execute(), the docs have an example of how the class is supposed to be used just below the list of methods available in the class.

Ali Reza
17th June 2012, 20:09
thank you sir