[PyQt] Building PyQT windows 7 64 bit QT 4.8.0

Teodor Calin Hanchevici calin.hanchevici at gmail.com
Wed Jan 18 22:12:56 GMT 2012


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

Teodor

On Wed, Jan 18, 2012 at 5:03 PM, Phil Thompson
<phil at riverbankcomputing.com>wrote:

> On Wed, 18 Jan 2012 21:14:01 +0000, calin.hanchevici at gmail.com wrote:
> > Hi,
> >
> > I am trying to build PyQt-win-gpl-4.9 on Windows 7 professional 64 bit.
> I
> > have QT 4.8.0 and Python2.7 and 3.2
> > I have downloaded and built sip-4.13.1.
> >
> > With both versions of python I get the following error:
> > Generating the C++ source for the QtNetwork module...
> > sip: __or__() unsupported function return type - provide %MethodCode and
> a
> >
> > C++ signature
> > Error: Unable to create the C++ code.
> >
> > I downloaded and extracted the files in the installer, and compared the
> > sip
> > files for QTNetwork. The files in the source are the same with the ones
> in
> >
> > PyQt-Py2.7-x64-gpl-4.9-1.exe
> >
> > Any help is appreciated.
>
> Any chance you have earlier versions installed as well?
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120118/014da850/attachment-0001.html>


More information about the PyQt mailing list