[PyQt] simpletreemodel throwing error

Phil Thompson phil at riverbankcomputing.com
Fri Mar 12 13:18:33 GMT 2010


On Fri, 12 Mar 2010 13:11:35 +0100, "Sebastian Elsner"
<sebastianelsner at freenet.de> wrote:
> Hello,
> 
> the simple tree model example seems to work fine at first, but when
closed 
> 
> the terminal prints:
> 
> QObject::startTimer: QTimter can only be used with threads started with  
> QThread
> 
> I run the example unchanged from within Eclipse with Pydev using the  
> latest PyQt 4.7 on Windows XP 64bit SP2.
> 
> What is wrong here? Can it be ignored?

It's another example of things being destroyed in the wrong order when an
application terminates.

I've changed things (in tonight's snapshot) so that all top level widgets
are explicitly destroyed before the QApplication instance.

Phil


More information about the PyQt mailing list