[PyQt] Garbage collection issue?
Doug Bell
dougb at bellz.org
Fri Nov 19 19:47:21 GMT 2010
Hi,
When exiting my PyQt application, I get the following error message:
QObject::startTimer: QTimer can only be used with threads started with
QThread
The strange thing is that my application is single-threaded and doesn't
contain any QTimers.
The error seems to be related to garbage collection at application exit.
It started showing up when I added a reference between two objects that
were already referenced in the other direction (becoming similar to a
doubly-linked list).
I tried to create a small example showing the problem, but I was unable
to reproduce the issue in a simpler program, even after duplicating much
of the basic structure.
I'm running PyQt 4.7.6 and Python 3.1.2 and Qt 4.6.3. The error occurs
on both Linux and Windows.
Any ideas on how to troubleshoot this?
Thanks,
Doug
More information about the PyQt
mailing list