[PyQt] Re: PyQt Digest, Vol 47, Issue 13

Charles Chen charles.chen at temboo.com
Wed Jun 11 11:37:55 BST 2008


Hi Phil,

    Thanks for the reply.  I was assuming that PyQt 4.4.2 required Qt 
4.4.x because of the error I'm receiving (see below) about 
QGraphicsWidget (new in Qt 4.4) being missing.

    I'm building this with a clean install of Python 2.5.2 and Sip 
4.7.6, using PyQt-win-commercial-4.4.2.

Thanks,
    Charles

mingw32-make[1]: Leaving directory `C:/PyQt-win-commercial-4.4.2/QtCore'
makefile:30: warning: overriding commands for target `.c.o'
makefile:27: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Entering directory `C:/PyQt-win-commercial-4.4.2/QtGui'
g++ -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG 
-DQT_GU
I_LIB -DQT_CORE_LIB -I. -IC:\Python25\include 
-IC:\Qt\4.3.3\mkspecs\default -IC:
/Qt/4.3.3/include\QtGui -IC:/Qt/4.3.3/include\QtCore 
-IC:/Qt/4.3.3/include -o si
pQtGuicmodule.o sipQtGuicmodule.cpp
sip/QtGui/qgraphicsitem.sip:799:34: qgraphicsproxywidget.h: No such file 
or dire
ctory
sip/QtGui/qgraphicsitem.sip:800:29: qgraphicswidget.h: No such file or 
directory

mingw32-make[1]: *** [sipQtGuicmodule.o] Error 1
mingw32-make[1]: Leaving directory `C:/PyQt-win-commercial-4.4.2/QtGui'
mingw32-make: *** [all] Error 2




 > ------------------------------ Message: 10 Date: Wed, 11 Jun 2008 
09:55:08 +0100 From: Phil Thompson <phil at riverbankcomputing.com> 
Subject: Re: [PyQt] Problem buildling PyQt 4.3.x To: 
pyqt at riverbankcomputing.com Message-ID: 
<200806110955.08061.phil at riverbankcomputing.com> Content-Type: 
text/plain; charset="iso-8859-1" On Wednesday 11 June 2008 9:41:51 am 
Charles Chen wrote:
 > > > I'm trying to build the commercial version of PyQt 4.3.x.  I get the
 > > > following error:
 > > >
 > > > mingw32-make[1]: Entering directory
 > > > `C:/PyQt-win-commercial-4.3.3/QAxContaine
 > > > g++ -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL 
-DQT_NO_DEBUG
 > > > -DQT
 > > > I_LIB -DQT_CORE_LIB -I. -IC:\Python25\include
 > > > -IC:\Qt\4.3.3\mkspecs\default -
 > > > /Qt/4.3.3/include\ActiveQt -IC:/Qt/4.3.3/include\QtGui
 > > > -IC:/Qt/4.3.3/include\
 > > > ore -IC:/Qt/4.3.3/include -o sipQAxContainerQAxWidget.o
 > > > sipQAxContainerQAxWid
 > > > .cpp
 > > > 
C:/Qt/4.3.3/include/ActiveQt/../../src/activeqt/container/qaxwidget.h:72:
 > > > err
 > > >   `QMetaObject QAxWidget::staticMetaObject' is private
 > > > sipQAxContainerQAxWidget.cpp:3428: error: within this context
 > > > mingw32-make[1]: *** [sipQAxContainerQAxWidget.o] Error 1
 > > > mingw32-make[1]: Leaving directory
 > > > `C:/PyQt-win-commercial-4.3.3/QAxContainer
 > > > mingw32-make: *** [all] Error 2
 > > >
 > > > I'm using:
 > > > Python 2.5.2
 > > > Qt 4.3.3
 > > > Sip 4.7.6
 > > > PyQt PyQt-win-commercial-4.3.3
 > > >
 > > >     I've tried compiling against Qt 4.3.5, but I received the same
 > > > error.  I also tried using PyQt-win-commercial-4.4.2, but it 
requires Qt
 > > > 4.4.x (ie. it fails because QGraphicsWidget is missing).
 > > >
 > > >     I actually don't need QAxContainer, so I considered building 
the gpl
 > > > version of 4.3.3 (this is for internal development, not for a 
commerical
 > > > release.)  Unfortunately old versions of PyQt don't seem to be 
archived
 > > > at Riverbank Computing's website.
 > > >
 > > >     Given that Trolltech is continuing to support the 4.3.x line (ie.
 > > > they release Qt 4.3.5 after Qt 4.4), will PyQt do the same?
 > > >
 > > >     Our project can't go to 4.4 yet, for other reasons.
 >
 > The PyQt version numbers and the Qt version numbers have nothing to 
do with
 > each other (except maybe the first '4'). PyQt v4.4.2 supports all 
versions of
 > Qt v4. PyQt v4.4.2 should build fine against Qt v4.3.3 and doesn't 
have the
 > bug.
 >
 > Phil
 >


More information about the PyQt mailing list