[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">&lt;<a \
href="mailto:calin.hanchevici@gmail.com">calin.hanchevici@gmail.com</a>&gt;</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 &lt;<a \
href="mailto:ndufort@gmail.com" target="_blank">ndufort@gmail.com</a>&gt; \
wrote:<br>&gt; Teodor,<br>&gt; <br>&gt; <br>&gt; 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> &gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; On \
Thu, Jan 19, 2012 at 3:36 PM, Phil Thompson <a \
href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>&gt; wrote:<br>&gt; <br>&gt; <br>&gt; \
<br> &gt; On Thu, 19 Jan 2012 09:16:19 -0500, Teodor Calin Hanchevici<br>&gt; \
<br>&gt; <a href="mailto:calin.hanchevici@gmail.com" \
target="_blank">calin.hanchevici@gmail.com</a>&gt; wrote:<br>&gt; <br>&gt; &gt; Hi \
Phil,<br>&gt; <br> &gt; &gt;<br>&gt; <br>&gt; &gt; I doubt that this is the problem. \
I ran the following:<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Sorry, I mis-read \
your previous email.<br>&gt; <br>&gt; <br>&gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9&gt;&quot;C:\Python27\sip&quot; -w -o -x<br> \
&gt; <br>&gt; &gt; VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t \
Qt_4_8_0<br>&gt; <br>&gt; -x<br>&gt; <br>&gt; &gt; Py_v3 -g -a QtNetwork.api \
-c<br>&gt; <br>&gt; &gt; C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b<br> \
&gt; <br>&gt; &gt; QtNetwork\QtNetwork.sbf -I \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br>&gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br>&gt; \
<br>&gt; &gt; sip: __or__() unsupported function return type - provide %MethodCode \
and<br> &gt; <br>&gt; a<br>&gt; <br>&gt; &gt; C++ signature<br>&gt; <br>&gt; \
&gt;<br>&gt; <br>&gt; &gt; C:\home\3rdparty\sources\PyQt-win-gpl-4.9&gt;sip -w -o -x \
VendorID -t<br>&gt; <br>&gt; WS_WIN<br>&gt; <br>&gt; &gt; -x PyQt_OpenSSL -x \
PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a<br> &gt; <br>&gt; &gt; QtNetwork.api \
-c C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b<br>&gt; <br>&gt; &gt; \
QtNetwork\QtNetwork.sbf -I<br>&gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br>&gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br> &gt; \
<br>&gt; &gt; sip: __or__() unsupported function return type - provide %MethodCode \
and<br>&gt; <br>&gt; a<br>&gt; <br>&gt; &gt; C++ signature<br>&gt; <br>&gt; \
&gt;<br>&gt; <br>&gt; &gt; C:\home\3rdparty\sources\PyQt-win-gpl-4.9&gt;sip.exe -w -o \
-x VendorID -t<br> &gt; <br>&gt; &gt; WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug \
-t Qt_4_8_0 -x Py_v3 -g<br>&gt; <br>&gt; -a<br>&gt; <br>&gt; &gt; QtNetwork.api -c \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b<br>&gt; <br>&gt; &gt; \
QtNetwork\QtNetwork.sbf -I<br> &gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br>&gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br>&gt; \
<br>&gt; &gt; sip: __or__() unsupported function return type - provide %MethodCode \
and<br> &gt; <br>&gt; a<br>&gt; <br>&gt; &gt; C++ signature<br>&gt; <br>&gt; \
&gt;<br>&gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9&gt;&quot;C:\Python27\sip.exe&quot; -w -o \
-x<br>&gt; <br>&gt; &gt; VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug \
-t Qt_4_8_0<br> &gt; <br>&gt; -x<br>&gt; <br>&gt; &gt; Py_v3 -g -a QtNetwork.api \
-c<br>&gt; <br>&gt; &gt; C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork \
-b<br>&gt; <br>&gt; &gt; QtNetwork\QtNetwork.sbf -I \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9\sip<br> &gt; <br>&gt; &gt; \
C:\home\3rdparty\sources\PyQt-win-gpl-4.9/sip/QtNetwork/QtNetworkmod.sip<br>&gt; \
<br>&gt; &gt; sip: __or__() unsupported function return type - provide %MethodCode \
and<br>&gt; <br>&gt; a<br>&gt; <br>&gt; &gt; C++ signature<br> &gt; <br>&gt; \
&gt;<br>&gt; <br>&gt; &gt;<br>&gt; <br>&gt; &gt; I am able to configure the package \
as follows:<br>&gt; <br>&gt; &gt; C:\home\3rdparty\sources\PyQt-win-gpl-4.9&gt;python \
configure.py --verbose<br>&gt; <br>&gt; -e<br> &gt; <br>&gt; &gt; QtCore -e QtHelp -e \
QtScriptTools  -e QtXml -e QtDBus -eQtMultimedia  -e<br>&gt; <br>&gt; &gt; QtSql -e \
QtDeclarative  -e QtSvg -e QAxContainer -e QtDesigner -e<br>&gt; <br>&gt; \
QtOpenGL<br>&gt; <br>&gt; &gt; -e QtTest -e QtAssistant -e QtGui -e QtScript -e \
QtWebKit<br> &gt; <br>&gt; &gt;<br>&gt; <br>&gt; &gt; QtNetwork and QtXmlPatterns \
give the same errors.<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; I \
don&#39;t know. The message implies a mis-match between the version of sip<br> &gt; \
<br>&gt; and the version of PyQt (ie. its .sip files). Obviously it works for \
me,<br>&gt; <br>&gt; and I haven&#39;t seen anybody else report a similar problem. I \
would still<br>&gt; <br>&gt; suspect the QCIS installation.<br> &gt; <br>&gt; \
<br>&gt; <br>&gt; Phil<br>&gt; <br>&gt; \
_______________________________________________<br>&gt; <br>&gt; PyQt mailing list    \
<a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> &gt; <br>&gt; <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>&gt; \
<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br> &gt; -- <br>&gt; \
&quot;Attention, attention. Here and now, boys,&quot; the mynah repeated. &quot;Here \
and now, boys.&quot;<br>&gt; <br>&gt;</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