[PyQt] PyQt4 build problem : 'qHash' was not declared in this scope

Thibault Bartolone bartol_78 at yahoo.com
Thu Oct 1 14:42:23 BST 2009


Hello everyone. I'm trying to install a software that needs pyQt4 to function (GNS3, Cisco router emulator).

I'm running Linux CentOS 5.2 on a i386 type processor. I based the compilation process on this page

For that, I've successfully installed the following :
python python-devel xorg-x11-proto-devel libXext-devel  

and built the following :
qt-x11-opensource-src-4.5.0
sip-4.9.tar.gz

I'm now trying to build PyQt-x11-gpl-4.6
The python configure part went ok. But the make part gives the following message :

make[1]: entrant dans le répertoire « /tmp/PyQt-x11-gpl-4.6/QtCore »
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/tmp/PyQt-x11-gpl-4.6/qpy/QtCore -I/usr/include/python2.4 -I/usr/local/Trolltech/Qt-4.4.1/mkspecs/default -I/usr/local/Trolltech/Qt-4.4.1/include/QtCore -I/usr/local/Trolltech/Qt-4.4.1/include -I/usr/X11R6/include -o sipQtCoreQUrl.o sipQtCoreQUrl.cpp
sip/QtCore/qurl.sip: In function ‘long int slot_QUrl___hash__(PyObject*)’:
sip/QtCore/qurl.sip:74: erreur: ‘qHash’ was not declared in this scope
make[1]: *** [sipQtCoreQUrl.o] Erreur 1
make[1]: quittant le répertoire « /tmp/PyQt-x11-gpl-4.6/QtCore »
make: *** [install] Erreur 2

I don't know what this mistake is about. I tried to look on the internet and on this mailing-list, but I found nothing.

Any help appreciated !

Thanks in advance !




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091001/60a8e22c/attachment.html


More information about the PyQt mailing list