Garbage collection with QT
Mike Tammerman
mtammerman at gmail.com
Wed Jun 8 04:12:52 EDT 2005
Not all leakage problems caused by qt or python. There is a wrapping
layer between Qt and Python provided by SIP. Therefore, SIP may cause
leakages. Also PyQt had a paintCell memory leakage problem several
months ago. If you're using an old snapshot of PyQt or SIP, that would
be a problem. Try using the latest snapshots. Also mention your
versions and problems to the PyKDE mailinglist, it could be more
helpful.
If you want to delete C++ objects in Qt, consider using
QObject.deleteLater() method. IMHO, this won't help.
Mike
More information about the Python-list
mailing list