Hi Phil,<br><br>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<br>
<br>Creating the Makefile for the QtMultimedia module...<br>Generating the C++ source for the QtNetwork module...<br>"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<br>
sip: __or__() unsupported function return type - provide %MethodCode and a C++ signature<br>Error: Unable to create the C++ code.<br><br>The version of sip is correct:<br>C:\home\3rdparty\sources\PyQt-win-gpl-4.9>C:\Python27\sip.exe -V<br>
4.13.1<br><br>Teodor<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 5:03 PM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, 18 Jan 2012 21:14:01 +0000, <a href="mailto:calin.hanchevici@gmail.com">calin.hanchevici@gmail.com</a> wrote:<br>
> Hi,<br>
><br>
> I am trying to build PyQt-win-gpl-4.9 on Windows 7 professional 64 bit.<br>
I<br>
> have QT 4.8.0 and Python2.7 and 3.2<br>
> I have downloaded and built sip-4.13.1.<br>
><br>
> With both versions of python I get the following error:<br>
> Generating the C++ source for the QtNetwork module...<br>
> sip: __or__() unsupported function return type - provide %MethodCode and<br>
a<br>
><br>
> C++ signature<br>
> Error: Unable to create the C++ code.<br>
><br>
> I downloaded and extracted the files in the installer, and compared the<br>
> sip<br>
> files for QTNetwork. The files in the source are the same with the ones<br>
in<br>
><br>
> PyQt-Py2.7-x64-gpl-4.9-1.exe<br>
><br>
> Any help is appreciated.<br>
<br>
</div></div>Any chance you have earlier versions installed as well?<br>
<span class="HOEnZb"><font color="#888888"><br>
Phil<br>
</font></span></blockquote></div><br>