[PyQt] Problems building PyQt (`Matrix' is not a member of `Qvariant)

Chip Webber chipwebber at gmail.com
Thu Apr 12 06:23:19 BST 2007


Dear List,
I've been trying for the better part of the day to build PyQT, but I am
completely stuck and would really appreciate a nudge in the right direction.


Building of PyQT fails with the error: sip/QtCore/qobject.sip:1995: error:
`Matrix' is not a member of `QVariant'.  I've googled and and read install
notes to no avail which makes me suspect that I've done something stupid or
overlooked something simple.  I've tried installation on two separate
machines with the same results (albiet both are failry similar
environments).

Thanks!
Chip

---------

Here's my basic setup:
AMD 32bit, CENTOS4(RHEL4)
Python 2.3.4
Gcc 3.4.6
Qt4.1.4 (installed in non-default location)
SIP-4.6

To build PyQT:

$ python configure.py
$ make
...
...
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I.
-I/usr/include/python2.3
-I/usr/local/Trolltech/Qt-opensource-4.1.4/mkspecs/default
-I/usr/local/Trolltech/Qt-opensource-4.1.4//include/QtCore
-I/usr/local/Trolltech/Qt-opensource-4.1.4//include -I/usr/X11R6/include -o
sipQtCorecmodule.o sipQtCorecmodule.cpp
sip/QtCore/qobject.sip: In function `int qtcore_pyqtproperty_init(PyObject*,
PyObject*, PyObject*)':
sip/QtCore/qobject.sip:1995: error: `Matrix' is not a member of `QVariant'
make[1]: *** [sipQtCorecmodule.o] Error 1
make[1]: Leaving directory `/home/cwebber/src/pyqt/PyQt-x11-gpl-4.2/QtCore'
make: *** [all] Error 2



More information about the PyQt mailing list