Re: threading, qt, and the freakout

2004-11-30 Thread Phil Thompson
What versions of Python, PyQt, SIP, Qt? Qt imposes restrictions on which parts of the API can be called in different threads - check the Qt documentation. Python has bugs in its thread implementation. These (the ones that affect PyQt anyway) are fixed in Python 2.4. Also see the "Support for Thr

Re: threading, qt, and the freakout

2004-11-29 Thread Ken Godee
Ben Floyd wrote: Hey everyone, Why doesn't this work? The code speaks much more clearly than I do, so i shortened it and pasted it below. Running this and clicking on 'Break Me' will... freak out the window... You can not mix GUI threads and non GUI threads. Just changing text may seem to work, bu

threading, qt, and the freakout

2004-11-29 Thread Ben Floyd
Hey everyone, Why doesn't this work? The code speaks much more clearly than I do, so i shortened it and pasted it below. Running this and clicking on 'Break Me' will... freak out the window... But... only when the pushbutton_obj.setText("Updated") line is in the thread. If I comment out the thre