[Qt-interest] Qprocess - determining the state
Stefano Rosellini
s.rosellini at iv-srl.it
Fri Dec 4 08:36:20 CET 2009
Are you really sure that the pointer 'myProcess' is valid?
Phil ha scritto:
> 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?
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s_rosellini.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091204/3d776abc/attachment.vcf
More information about the Qt-interest-old
mailing list