[PyQt] QMovie start/stop from a different thread
tomschuring at gmail.com
Wed Nov 25 05:35:28 GMT 2009
i create a QMovie in the main thread :
self.movie = QMovie("images\whitephone-animation.mng", QByteArray(),
but then want to start/stop it from a different thread but receive a :
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Menu(0x1183680), parent's thread is QThread(0x117dd58), current
d is QThread(0x3de3e88)
can i call the start / stop slots from within that different thread, and how
would i do that ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt