[PyQt] Issue building latest PyQt4 snapshot against Qt 5.3.0

Detlev Offenbach detlev at die-offenbachs.de
Sat May 31 17:22:58 BST 2014


Hi,

adding these lines to configure.py solves the issue.

#if !defined(QT_EDITION)
#define QT_EDITION              8
#endif

Detlev

On Saturday 31 May 2014, 17:35:03 Detlev Offenbach wrote:
> Just to add to my previous mail, my qconfig.h file is missing these lines
> 
> /* Qt Edition */
> #ifndef QT_EDITION
> #  define QT_EDITION QT_EDITION_OPENSOURCE
> #endif
> 
> I compiled it myself from Qt sources.
> 
> Regards,
> Detlev
> 
> On Saturday 31 May 2014, 17:18:50 Detlev Offenbach wrote:
> > Hi,
> > 
> > I tried to build the latest PyQt4 snapshot against Qt 5.3.0. The configure
> > run failed (see below). Building it against Qt 4.8.6 worked fine.
> > 
> > ~/src/Python/PyQt/PyQt4/PyQt-x11-gpl-4.11.1-snapshot-9d5a6843b580>
> > ~/py3qt50env/bin/python configure.py -b ~/py3qt50env/bin/ -v
> > ~/py3qt50env/sip -c -j8 --verbose Determining the layout of your Qt
> > installation...
> > /usr/local/Qt-5.3/bin/qmake -o qtdirs.mk qtdirs.pro
> > make -f qtdirs.mk
> > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_CORE_LIB -
> > I/usr/local/Qt-5.3.0/mkspecs/linux-g++ -I. -I/usr/local/Qt-5.3.0/include -
> > I/usr/local/Qt-5.3.0/include/QtCore -I. -o qtdirs.o qtdirs.cpp
> > qtdirs.cpp: In function ‘int main(int, char**)’:
> > qtdirs.cpp:37:12: error: ‘QT_EDITION’ was not declared in this scope
> > 
> >      out << QT_EDITION << '\n';
> >      
> >             ^
> > 
> > make: *** [qtdirs.o] Fehler 1
> > Error: Failed to determine the layout of your Qt installation. Try again
> > using the --verbose flag to see more detail about the problem.
> > 
> > Regards,
> > Detlev--
> > *Detlev Offenbach*
> > detlev at die-offenbachs.de--
> 
> *Detlev Offenbach*
> detlev at die-offenbachs.de-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140531/3922a663/attachment.html>


More information about the PyQt mailing list