[mythtv-users] QT programming question
Nasa
nasa01 at comcast.net
Tue Jan 20 13:07:39 UTC 2009
Hi,
I am working on porting a plugin to qt4 and am running into a slight issue...
The issue surrounds QProcess, example code follows:
QProcess proc;
QString program;
QStringList args;
program = "some path to script/program";
args += " - ";
proc.start(program,args)
if (QProcess::Running == proc.state())
{
do something
}
blah, blah....
The problem is that the if statement is never done. Infact, in my testing I have never seen any form of that if statement work -- even though the QT docs suggest that it should. Could someone clue me into why this isn't working?
Nasa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090120/32a6a0de/attachment.htm>
More information about the mythtv-users
mailing list