[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0
From: Teodor Calin Hanchevici <calin.hanchevici () gmail ! com>
Date: 2012-01-22 16:14:17
Message-ID: CAJ9KEWeY7f4CqRcjeNzYz2AHygTzr3q8Z-t5Tbt2nhF8md52Mg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
as I suspected, the QT distribution was incomplete. After rebuilding and
reinstalling QT, Py-QT built fine.
I wonder if would be possible to get more verbose/clearer error messages
from sip?
Thank you all
Teodor
On Thu, Jan 19, 2012 at 1:05 PM, <calin.hanchevici@gmail.com> wrote:
> 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 <ndufort@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
> phil@riverbankcomputing.com> wrote:
> >
> >
> >
> > On Thu, 19 Jan 2012 09:16:19 -0500, Teodor Calin Hanchevici
> >
> > calin.hanchevici@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@riverbankcomputing.com
> >
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> >
> >
> >
> >
> >
> >
> >
> > --
> > "Attention, attention. Here and now, boys," the mynah repeated. "Here
> and now, boys."
> >
> >
>
[Attachment #5 (text/html)]
Hi,<br>as I suspected, the QT distribution was incomplete. After rebuilding and \
reinstalling QT, Py-QT built fine.<br>I wonder if would be possible to get more \
verbose/clearer error messages from sip?<br>Thank you all<br>Teodor<br> <br><div \
class="gmail_quote">On Thu, Jan 19, 2012 at 1:05 PM, <span dir="ltr"><<a \
href="mailto:calin.hanchevici@gmail.com">calin.hanchevici@gmail.com</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> Nico,<br>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.<br> <br>Teodor<div \
class="HOEnZb"><div class="h5"><br><br>On , Nico Dufort <<a \
href="mailto:ndufort@gmail.com" target="_blank">ndufort@gmail.com</a>> \
wrote:<br>> Teodor,<br>> <br>> <br>> 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.<br> > <br>> <br>> <br>> <br>> On \
Thu, Jan 19, 2012 at 3:36 PM, Phil Thompson <a \
href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>> wrote:<br>> <br>> <br>> \
<br> > On Thu, 19 Jan 2012 09:16:19 -0500, Teodor Calin Hanchevici<br>> \
<br>> <a href="mailto:calin.hanchevici@gmail.com" \
target="_blank">calin.hanchevici@gmail.com</a>> wrote:<br>> <br>> > Hi \
Phil,<br>> <br> > ><br>> <br>> > I doubt that this is the problem. \
I ran the following:<br>> <br>> <br>> <br>> <br>> Sorry, I mis-read \
your previous email.<br>> <br>> <br>> <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9>"C:\Python27\sip" -w -o -x<br> \
> <br>> > VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t \
Qt_4_8_0<br>> <br>> -x<br>> <br>> > Py_v3 -g -a QtNetwork.api \
-c<br>> <br>> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b<br> \
> <br>> > QtNetwork\QtNetwork.sbf -I \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br>> <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br>> \
<br>> > sip: __or__() unsupported function return type - provide %MethodCode \
and<br> > <br>> a<br>> <br>> > C++ signature<br>> <br>> \
><br>> <br>> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9>sip -w -o -x \
VendorID -t<br>> <br>> WS_WIN<br>> <br>> > -x PyQt_OpenSSL -x \
PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a<br> > <br>> > QtNetwork.api \
-c C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b<br>> <br>> > \
QtNetwork\QtNetwork.sbf -I<br>> <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br>> <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br> > \
<br>> > sip: __or__() unsupported function return type - provide %MethodCode \
and<br>> <br>> a<br>> <br>> > C++ signature<br>> <br>> \
><br>> <br>> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9>sip.exe -w -o \
-x VendorID -t<br> > <br>> > WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug \
-t Qt_4_8_0 -x Py_v3 -g<br>> <br>> -a<br>> <br>> > QtNetwork.api -c \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b<br>> <br>> > \
QtNetwork\QtNetwork.sbf -I<br> > <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br>> <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br>> \
<br>> > sip: __or__() unsupported function return type - provide %MethodCode \
and<br> > <br>> a<br>> <br>> > C++ signature<br>> <br>> \
><br>> <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9>"C:\Python27\sip.exe" -w -o \
-x<br>> <br>> > VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug \
-t Qt_4_8_0<br> > <br>> -x<br>> <br>> > Py_v3 -g -a QtNetwork.api \
-c<br>> <br>> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork \
-b<br>> <br>> > QtNetwork\QtNetwork.sbf -I \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br> > <br>> > \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br>> \
<br>> > sip: __or__() unsupported function return type - provide %MethodCode \
and<br>> <br>> a<br>> <br>> > C++ signature<br> > <br>> \
><br>> <br>> ><br>> <br>> > I am able to configure the package \
as follows:<br>> <br>> > C:\home\3rdparty\sources\PyQt-win-gpl-4.9>python \
configure.py --verbose<br>> <br>> -e<br> > <br>> > QtCore -e QtHelp -e \
QtScriptTools -e QtXml -e QtDBus -eQtMultimedia -e<br>> <br>> > QtSql -e \
QtDeclarative -e QtSvg -e QAxContainer -e QtDesigner -e<br>> <br>> \
QtOpenGL<br>> <br>> > -e QtTest -e QtAssistant -e QtGui -e QtScript -e \
QtWebKit<br> > <br>> ><br>> <br>> > QtNetwork and QtXmlPatterns \
give the same errors.<br>> <br>> <br>> <br>> <br>> <br>> I \
don't know. The message implies a mis-match between the version of sip<br> > \
<br>> and the version of PyQt (ie. its .sip files). Obviously it works for \
me,<br>> <br>> and I haven't seen anybody else report a similar problem. I \
would still<br>> <br>> suspect the QCIS installation.<br> > <br>> \
<br>> <br>> Phil<br>> <br>> \
_______________________________________________<br>> <br>> PyQt mailing list \
<a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> > <br>> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>> \
<br>> <br>> <br>> <br>> <br>> <br>> <br> > -- <br>> \
"Attention, attention. Here and now, boys," the mynah repeated. "Here \
and now, boys."<br>> <br>></div></div></blockquote></div><br>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic