4

PyQt QThread problem

view full story
linux-howto

http://forums.fedoraforum.org – I'm trying to update the QLabel in test.py using TimeThread from TimeThread.py. I get this error.... Code: Traceback (most recent call last):   File "/home/..../workspace/Python/Test/test.py", line 37, in <module>     t = Test()   File "/home/..../workspace/Python/Test/test.py", line 18, in __init__     self.myTimeThread.start() RuntimeError: underlying C/C++ object has been deleted when i run test.py Code: import sys from PyQt4.QtCore import * from PyQt4.QtGui import * from TimeThread import TimeThread class (HowTos)