View Full Version : from qt, how to external program has finished his job?

9th November 2011, 15:17
hi, all.

I have linked an external program to my qt project, using QProcess.

because I need to use the result of this external program.

now the problem is how can my qt project be informed that this external program finishes his running and the result is ready?

thank you.

9th November 2011, 15:29
QProcess has finished() signal. You can also use readyReadStandardOutput() signal to be notified when your external app writes something to stdout - you can then read it with readAllStandardOutput() (see docs for more details).

10th November 2011, 07:58
thank you stampede, it works :)