[mythtv-users] Progress bar on import images

Joseph A. Caputo jcaputo1 at comcast.net
Fri Mar 4 02:30:24 UTC 2005


Dennis Lou wrote:

>How do you intend to send a message from your script
>to MythGallery?  As I recall, scripts just run
>from a system() call.
>  
>

Instead of using system(), you could use a QProcess to run the script, 
and attach to its stdin/stdout.  Then you could have the script output 
progress information.  The QProcess will emit a Qt signal when data is 
read to read on the script's stdout.

-JAC


More information about the mythtv-users mailing list