[PyQt] PYQT4 error (QMultiHash)

Ng, Enrico enrico.ng at lmco.com
Thu Dec 10 21:47:45 GMT 2009


I have a freshly installed RHEL5 Desktop system.  I have the QT 4.2.1 package installed from RedHat.

I cannot find a PyQt4 package so I am attempting to build it.

I was able to install SIP 4.9.3 ok.

However I run into a problem when attempting to build PyQt4, I get the following error.

/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include -I/usr/include/python2.4 -I../../QtCore -I. -I. -o qpycore_pyqtproxy.o qpycore_pyqtproxy.cpp
qpycore_pyqtproxy.cpp: In destructor 'virtual PyQtProxy::~PyQtProxy()':
qpycore_pyqtproxy.cpp:263: error: no matching function for call to 'QMultiHash<void*, PyQtProxy*>::remove(void*&, PyQtProxy* const)'
/usr/lib64/qt4/include/QtCore/qhash.h:709: note: candidates are: int QHash<Key, T>::remove(const Key&) [with Key = void*, T = PyQtProxy*]
qpycore_pyqtproxy.cpp:267: error: no matching function for call to 'QMultiHash<void*, PyQtProxy*>::remove(void*&, PyQtProxy* const)'
/usr/lib64/qt4/include/QtCore/qhash.h:709: note: candidates are: int QHash<Key, T>::remove(const Key&) [with Key = void*, T = PyQtProxy*]
make[2]: *** [qpycore_pyqtproxy.o] Error 1


I'm at a loss in what to do, can anyone help?


More information about the PyQt mailing list