[PyQt] Building PyQT windows 7 64 bit QT 4.8.0

Nico Dufort ndufort at gmail.com
Thu Jan 19 17:41:58 GMT 2012


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
<phil at riverbankcomputing.com>wrote:

> On Thu, 19 Jan 2012 09:16:19 -0500, Teodor Calin Hanchevici
> <calin.hanchevici at 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 -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.
>
> 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 at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
"Attention, attention. Here and now, boys," the mynah repeated. "Here and
now, boys."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120119/49d8c7b9/attachment-0001.html>


More information about the PyQt mailing list