PyQT Qthread stuck main app

David Boddie dboddie at trolltech.com
Tue Sep 15 14:54:29 CEST 2009


On Tue Sep 15 12:59:35 CEST 2009, daved170 wrote:

> my problem is that when start is pusshed the entire window stuck and
> it's impossible to push the STOP button and even when it looks like
> it's been pushed it actually don't do anything.
>
> any idea how to fix it?

Does adding a call to the base class's __init__() method help?

class myThread(QtCore.QThread):
   def__init__(self):
      QtCore.QThread.__init__(self)
      self.alive = 1

David



More information about the Python-list mailing list