On Mon, 08 Nov 2010 19:13:59 +0100, Giuseppe Corbelli <[email protected]> wrote: > Debian Linux 2.6 > Python 2.6.6 (r266:84292, Oct 9 2010, 11:40:09) [GCC 4.4.5] > Qt 4.7.0~rc1-1 (Debian package, experimental repo) > PyQt 4.8.1 (last release, compiled from source) > > When I try to execute this: > > from PyQt4 import QtCore > > QtCore.QObject.__bases__ > (<type 'sip.wrapper'>,) > > QtCore.QSignalMapper.__bases__ > > TypeError > Traceback (most recent call last) > /home/cowo/<ipython console> in <module>() > TypeError: C++ type 'QWidget*' is not supported as a native Qt signal type > > This error did NOT occur with Qt 4.6 and PyQt 4.7.7.
The problem is unique to QSignalMapper. The workaround is to import QtGui. Thanks, Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
