<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hello PyQt folks!<br><br>I need to build PyQt4 myself for several reasons and have succeeded in the past. However, the combination of PyQt4 4.9.1, SIP 4.13.2 and qt  4.8.0 doesn't work. The sip being used is the correct one.<br>My system is Win7 64bits, gcc.exe (GCC) 4.7.0 20120311 (prerelease) from mingw64.<br><br>The output is this one:<br><br>Qt v4.8.0 free edition is being used.<br>SIP 4.13.2 is being used.<br>The Qt header files are in<br>E:/devel/2.7.2_Windows_64bit/install/qt4_src/include.<br>The shared Qt libraries are in<br>E:/devel/2.7.2_Windows_64bit/install/qt4_src/lib.<br>The Qt binaries are in E:/devel/2.7.2_Windows_64bit/install/qt4_src/bin.<br>The Qt mkspecs directory is in E:/devel/2.7.2_Windows_64bit/install/qt4_src.<br>These PyQt modules will be built: QtCore, QtGui, QtMultimedia, QtNetwork,<br>QtDeclarative, QtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg, QtWebKit,<br>QtXml, QtXmlPatterns.<br>The PyQt Python package will be installed in<br>E:\devel\2.7.2_Windows_64bit\install\pyqt4_src\site.<br>PyQt is being built with generated docstrings.<br>The Designer plugin will be installed in<br>E:/devel/2.7.2_Windows_64bit/install/qt4_src/dll\designer.<br>The PyQt .sip files will be installed in<br>E:\devel\2.7.2_Windows_64bit\install\pyqt4_src\sip.<br>pyuic4, pyrcc4 and pylupdate4 will be installed in<br>E:\devel\2.7.2_Windows_64bit\install\qt4_src\bin.<br>Generating the C++ source for the QtCore module...<br>"E:\devel\2.7.2_Windows_64bit\install\qt4_src\bin\sip" -w -o -x VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4<br>_8_0 -x Py_v3 -g -a QtCore.api -c E:\devel\2.7.2_Windows_64bit\src\pyqt4_src\PyQt-win-gpl-4.9.1\QtCore -b QtCore\QtCore.sbf -I E:\<br>devel\2.7.2_Windows_64bit\src\pyqt4_src\PyQt-win-gpl-4.9.1\sip E:\devel\2.7.2_Windows_64bit\src\pyqt4_src\PyQt-win-gpl-4.9.1/sip/Q<br>tCore/QtCoremod.sip<br>Creating the Makefile for the QtCore module...<br>Generating the C++ source for the QtDeclarative module...<br>"E:\devel\2.7.2_Windows_64bit\install\qt4_src\bin\sip" -w -o -x VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4<br>_8_0 -x Py_v3 -g -a QtDeclarative.api -c E:\devel\2.7.2_Windows_64bit\src\pyqt4_src\PyQt-win-gpl-4.9.1\QtDeclarative -b QtDeclarat<br>ive\QtDeclarative.sbf -I E:\devel\2.7.2_Windows_64bit\src\pyqt4_src\PyQt-win-gpl-4.9.1\sip E:\devel\2.7.2_Windows_64bit\src\pyqt4_<br>src\PyQt-win-gpl-4.9.1/sip/QtDeclarative/QtDeclarativemod.sip<br>sip: __or__() unsupported function return type - provide %MethodCode and a C++ signature<span class="Object" id="OBJ_PREFIX_DWT58"><span class="Object" id="OBJ_PREFIX_DWT59"></span></span><br><br>I already found a discussion about a similar error from last january, but with no solution. Does anyone have any idea?<br>Thanks!<br>Daniel<br></div></body></html>