[PyQt] PyQt application crashes on exit

Alexander Serdyukov alexander.serdyukov at gmail.com
Thu Apr 8 18:49:45 BST 2010


Hi,

After I've installed PyQt 4.7.2 many of the samples I work with will
repeatedly crash on exit.

This would be the simplest example to reproduce this problem.

import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
tree = QTreeWidget()
item = QTreeWidgetItem(tree, ["item 1"])
tree.show()
app.exec_()

I tried to download the latest snapshot
(PyQt-win-gpl-snapshot-4.7.3-22b0acdb1b62.zip), but the problem is
still here.
This is what I have on my machine now:
Windows 7 Professional 64-bit
Python 3.1.2.3 (installed from ActivePython's msi package)
Qt 4.6.2 installed from qt-sdk-win-opensource-2010.02.1.exe and built
with Visual Studio 2005
PyQt build from PyQt-win-gpl-snapshot-4.7.3-22b0acdb1b62.zip sources

Am I doing something wrong?

Thanks,
Alex


More information about the PyQt mailing list