[PyQt] QThread not exiting
kreno at yumaed.org
Fri Oct 19 20:52:51 BST 2007
Thank you so much!
On 10/19/07, Andreas Pakulat <apaku at gmx.de> wrote:
> On 19.10.07 11:07:34, Kerri Reno wrote:
> > OK, I took out all the GUI elements, but I still can't get the QThread
> > exit:
> Sorry, didn't notice before. You're actually not starting a new thread.
> You call "self.run()" from the constructor of the QThread subclass, but
> the constructor is executed inside the GUI thread. Thus run() runs in
> the GUI thread and the constructor of BusyThread never returns. The
> proper API to start a QThread is using QThread.start()
> You get along very well with everyone except animals and people.
> PyQt mailing list PyQt at riverbankcomputing.com
Yuma Educational Computer Consortium
Compass Development Team
kreno at yumaed.org (928) 502-4240
.·:*¨¨*:·. .·:*¨¨*:·. .·:*¨¨*:·.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt