[PyQt] Error in calling QSignalMapper.__bases__

Giuseppe Corbelli giuseppe.corbelli at copanitalia.com
Mon Nov 8 18:13:59 GMT 2010


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.

If you need more details please let me know, sorry but I don't know enough of
the internals to give some more hints...
BTW, is there a way to access older releases?
-- 
            Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104  Fax: +390302659932
E-mail: giuseppe.corbelli at copanitalia.com


More information about the PyQt mailing list