[PyQt] Can someone help me compile PyQt?

inhahe inhahe at gmail.com
Sun Jul 20 22:56:31 BST 2008


I get this error:

C:\temp\PYQT-W~1.2\PYQT-W~1.2>mingw32-make
mingw32-make[1]: Entering directory `C:/temp/PYQT-W~1.2/PYQT-W~1.2/qpy'
mingw32-make[2]: Entering directory
`C:/temp/PYQT-W~1.2/PYQT-W~1.2/qpy/QtDesigner'
mingw32-make -f Makefile.Release
mingw32-make[3]: Entering directory
`C:/temp/PYQT-W~1.2/PYQT-W~1.2/qpy/QtDesigner'
mingw32-make[3]: Nothing to be done for `first'.
mingw32-make[3]: Leaving directory
`C:/temp/PYQT-W~1.2/PYQT-W~1.2/qpy/QtDesigner'
mingw32-make[2]: Leaving directory
`C:/temp/PYQT-W~1.2/PYQT-W~1.2/qpy/QtDesigner'
mingw32-make[1]: Leaving directory `C:/temp/PYQT-W~1.2/PYQT-W~1.2/qpy'
mingw32-make[1]: Entering directory `C:/temp/PYQT-W~1.2/PYQT-W~1.2/QtCore'
makefile:30: warning: overriding commands for target `.c.o'
makefile:27: warning: ignoring old commands for target `.c.o'
g++ -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL
-DQT_NO_DEBUG -DQT_CORE_LIB -I. -IC:\Python25\include
-IC:\Qt\4.4.0\mkspecs\default -IC:\Qt\4.4.0\include\QtCore
-IC:\Qt\4.4.0\include -o sipQtCorecmodule.o sipQtCorecmodule.cpp
sip/QtCore/qobject.sip: In function `PyObject*
qtcore_PyArgumentStorage(const char*, PyObject*)':
sip/QtCore/qobject.sip:1312: error: 'struct PyTypeObject' has no
member named 'ht_type'
mingw32-make[1]: *** [sipQtCorecmodule.o] Error 1
mingw32-make[1]: Leaving directory `C:/temp/PYQT-W~1.2/PYQT-W~1.2/QtCore'
mingw32-make: *** [all] Error 2

I'm using MinGW version 5.1.4, gcc version 3.4.5


More information about the PyQt mailing list