Andreas,<br><br>Thank you so much!<br><br>Kerri<br><br><div><span class="gmail_quote">On 10/19/07, <b class="gmail_sendername">Andreas Pakulat</b> <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 19.10.07 11:07:34, Kerri Reno wrote:<br>> OK, I took out all the GUI elements, but I still can't get the QThread to<br>> exit:<br><br>Sorry, didn't notice before. You're actually not starting a new thread.
<br>You call "self.run()" from the constructor of the QThread subclass, but<br>the constructor is executed inside the GUI thread. Thus run() runs in<br>the GUI thread and the constructor of BusyThread never returns. The
<br>proper API to start a QThread is using QThread.start()<br><br>Andreas<br><br>--<br>You get along very well with everyone except animals and people.<br>_______________________________________________<br>PyQt mailing list
<a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Yuma Educational Computer Consortium<br>Compass Development Team<br>Kerri Reno<br><a href="mailto:kreno@yumaed.org">kreno@yumaed.org</a> (928) 502-4240<br>.·:*¨¨*:·. .·:*¨¨*:·. .·:*¨¨*:·.