[PyQt] help with qt4reactor.py?

inhahe inhahe at gmail.com
Sun May 10 13:32:53 BST 2009


Hello, can someone help me with the following code:

---

from PyQt4 import QtGui, QtCore
import sys, qt4reactor

app = QtGui.QApplication(sys.argv)
mainwin = QtGui.QMainWindow()
mainwin.showMaximized()
qt4reactor.install(app)
from twisted.internet import reactor

reactor.run()

---

the problem is the console window keeps displaying

QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!

etc., a few times per second.  the app seems to work, but that still bothers
me. i want it to be Done Right.

i'm using pyqt 4.3 and python 2.5 on windows xp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090510/17909816/attachment.html


More information about the PyQt mailing list