[mythtv-users] QT programming question

Nasa nasa01 at comcast.net
Tue Jan 20 16:46:38 UTC 2009



Hi, 

Nasa schrieb: 
> I have looked extensively at MythMovies (closest thing to what I am 
> doing)..... 
>>I think you missed this one from moviesui.cpp: 
>>if (!proc.waitForStarted()) 

>>Just as I said, you have to wait for the started signal! 



Nope, 



Didn't miss that -- it's used to ensure a process is started, not to see if it still running. 



WaitforFinish is the function to block until the process has stopped -- and no, it doesn't work either... 



Nasa 



(see here for function definitions:  http://cep.xor.aps.anl.gov/software/qt4-x11-4.2.2-browser/df/dde/class_q_process.html#6d959047a5a84bcf752021cfff8a6ea8  ) 



More information about the mythtv-users mailing list