[Qt-interest] Qprocess - determining the state

Phil phillor at telstra.com
Thu Dec 3 03:03:55 CET 2009


Thank you for reading this.

I'm trying to determine the state of a QProcess. Neither of the following 
attempts is correct. The first causes a compile error and the second results in 
a number that is not 0, 1 or 2.

ProcessState = myProcess->state();
int x = myProcess->state();

What have I misunderstood?

-- 
Regards,
Phil



More information about the Qt-interest-old mailing list