[PyQt] Building PyQT windows 7 64 bit QT 4.8.0

Teodor Calin Hanchevici calin.hanchevici at gmail.com
Thu Jan 19 14:16:19 GMT 2012


Hi Phil,

I doubt that this is the problem. I ran the following:

C:\home\3rdparty\sources\PyQt-win-gpl-4.9>"C:\Python27\sip" -w -o -x
VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x
Py_v3 -g -a QtNetwork.api -c
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b
QtNetwork\QtNetwork.sbf -I C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip
sip: __or__() unsupported function return type - provide %MethodCode and a
C++ signature

C:\home\3rdparty\sources\PyQt-win-gpl-4.9>sip -w -o -x VendorID -t WS_WIN
-x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a
QtNetwork.api -c C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b
QtNetwork\QtNetwork.sbf -I
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip
sip: __or__() unsupported function return type - provide %MethodCode and a
C++ signature

C:\home\3rdparty\sources\PyQt-win-gpl-4.9>sip.exe -w -o -x VendorID -t
WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a
QtNetwork.api -c C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b
QtNetwork\QtNetwork.sbf -I
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip
sip: __or__() unsupported function return type - provide %MethodCode and a
C++ signature

C:\home\3rdparty\sources\PyQt-win-gpl-4.9>"C:\Python27\sip.exe" -w -o -x
VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x
Py_v3 -g -a QtNetwork.api -c
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b
QtNetwork\QtNetwork.sbf -I C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip
sip: __or__() unsupported function return type - provide %MethodCode and a
C++ signature


I am able to configure the package as follows:
C:\home\3rdparty\sources\PyQt-win-gpl-4.9>python configure.py --verbose -e
QtCore -e QtHelp -e QtScriptTools  -e QtXml -e QtDBus -eQtMultimedia  -e
QtSql -e QtDeclarative  -e QtSvg -e QAxContainer -e QtDesigner -e QtOpenGL
-e QtTest -e QtAssistant -e QtGui -e QtScript -e QtWebKit

QtNetwork and QtXmlPatterns give the same errors.

regards,
Teodor

On Thu, Jan 19, 2012 at 4:15 AM, Phil Thompson
<phil at riverbankcomputing.com>wrote:

> On Wed, 18 Jan 2012 17:12:56 -0500, Teodor Calin Hanchevici
> <calin.hanchevici at gmail.com> wrote:
> > Hi Phil,
> >
> > I do have QGIS installed, and it comes with PyQT as well, however the
> > distribution is clean (the interpreter is not in the path and it is
> > installed in QGIS directory. I have renamed sip.exe from QGIS and tried
> > again
> >
> > Creating the Makefile for the QtMultimedia module...
> > Generating the C++ source for the QtNetwork module...
> > "C:\Python27\sip" -w -o -x VendorID -t WS_WIN -x PyQt_OpenSSL -x
> > PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a QtNetwork.api -c
> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b
> > QtNetwork\QtNetwork.sbf -I C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip
> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip
> > sip: __or__() unsupported function return type - provide %MethodCode and
> a
> > C++ signature
> > Error: Unable to create the C++ code.
> >
> > The version of sip is correct:
> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9>C:\Python27\sip.exe -V
> > 4.13.1
>
> But the line from the Makefile is running C:\Python27\sip
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120119/4eebf98e/attachment.html>


More information about the PyQt mailing list