[PyQt] CRASH: QVariant(QObject()).toPyObject()
phil at riverbankcomputing.com
Wed Apr 21 20:19:21 BST 2010
On Wed, 21 Apr 2010 21:09:10 +0200, Lorenz Quack <don at amberfisharts.com>
> Hi List,
> this small example crashes (Segmentation fault) my interpreter:
> >>> from PyQt4.QtCore import *
> >>> # The following line will crash the interpreter with a Segmentation
> >>> fault
> >>> QVariant(QObject()).toPyObject()
> This is with PyQt-4.7.3 and Qt-4.6.2 on a 64-bit Gentoo GNU/Linux system.
> If you need more information I would be happy to provide it. Just ask.
See the last paragraph of section 2.2.1...
More information about the PyQt