Nico,
In my case it seems that the QT distribution was corrupted. I am rebuilding QT now and see what happens. After installing the headers and the binaries for QT VS2010 32 bit, I was able to generate everything. Still got into linking errors when I used the 64 bit QT.

Teodor

On , Nico Dufort <nduf...@gmail.com> wrote:
Teodor,


I ran into a similar error but on QtDeclarative while trying to build against an older version of Python under Linux. Never could get the build to work even though I was using the freshly installed sip, not the system one. Gave up as I was getting nowhere after a few days of trying and I needed to move on. Did the same install, with older versions of the packages on another machine without a problem.




On Thu, Jan 19, 2012 at 3:36 PM, Phil Thompson p...@riverbankcomputing.com> wrote:



On Thu, 19 Jan 2012 09:16:19 -0500, Teodor Calin Hanchevici

calin.hanchev...@gmail.com> wrote:

> Hi Phil,

>

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




Sorry, I mis-read your previous email.



> 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 -IC:\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 -IC:\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.





I don't know. The message implies a mis-match between the version of sip

and the version of PyQt (ie. its .sip files). Obviously it works for me,

and I haven't seen anybody else report a similar problem. I would still

suspect the QCIS installation.



Phil

_______________________________________________

PyQt mailing list PyQt@riverbankcomputing.com

http://www.riverbankcomputing.com/mailman/listinfo/pyqt







--
"Attention, attention. Here and now, boys," the mynah repeated. "Here and now, boys."


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to