[PyQt] Issue compiling latest PyQt4 snapshot with Qt-5.1

Phil Thompson phil at riverbankcomputing.com
Sun Jul 28 16:21:23 BST 2013


On Sun, 28 Jul 2013 17:06:20 +0200, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> Hello,
> 
> trying to compile latest PyQt4 snapshot results in an error (s. below).
> What 
> am I doing wrong?
> 
> user at host:~/src/Python/PyQt/PyQt4/PyQt-x11-gpl-4.10.3-
> snapshot-3ea3fe511f2b> ~/py3qt50env/bin/python configure.py -b 
> ~/py3qt50env/bin/ -v ~/py3qt50env/sip -c -j8
> Determining the layout of your Qt installation...
> This is the GPL version of PyQt 4.10.3-snapshot-3ea3fe511f2b (licensed 
> under
> the GNU General Public License) for Python 3.3.0 on linux.
> 
> Type '2' to view the GPL v2 license.
> Type '3' to view the GPL v3 license.
> Type 'yes' to accept the terms of the license.
> Type 'no' to decline the terms of the license.
> 
> Do you accept the terms of the license? yes
> Found the license file pyqt-gpl.sip.
> Checking to see if the QtGui module should be built...
> Checking to see if the QtHelp module should be built...
> Checking to see if the QtMultimedia module should be built...
> Checking to see if the QtNetwork module should be built...
> Checking to see if the QtDBus module should be built...
> Checking to see if the QtDeclarative module should be built...
> Checking to see if the QtScript module should be built...
> Checking to see if the QtScriptTools module should be built...
> Checking to see if the QtXml module should be built...
> Checking to see if the QtOpenGL module should be built...
> Checking to see if the QtSql module should be built...
> Checking to see if the QtSvg module should be built...
> Checking to see if the QtTest module should be built...
> Checking to see if the QtWebKit module should be built...
> Checking to see if the QtXmlPatterns module should be built...
> Checking to see if the phonon module should be built...
> Checking to see if the QtAssistant module should be built...
> Checking to see if the QtDesigner module should be built...
> Checking to see if the QAxContainer module should be built...
> Checking to see if the dbus support module should be built...
> The Python dbus module doesn't seem to be installed.
> Qt v5.1.0 free edition is being used.
> SIP 4.15-snapshot-7bebd55f50b2 is being used.
> The Qt header files are in /usr/local/Qt-5.1.0/include.
> The shared Qt libraries are in /usr/local/Qt-5.1.0/lib.
> The Qt binaries are in /usr/local/Qt-5.1.0/bin.
> The Qt mkspecs directory is in /usr/local/Qt-5.1.0.
> These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
> QtNetwork, QtDBus, QtDeclarative, QtScript, QtScriptTools, QtXml, 
> QtOpenGL,
> QtSql, QtSvg, QtTest, QtWebKit, QtXmlPatterns, QtDesigner.
> The PyQt Python package will be installed in 
> ~/py3qt50env/lib64/python3.3/site-packages.
> PyQt is being built with deprecated Qt v4 features.
> PyQt is being built with generated docstrings.
> PyQt is being built with 'protected' redefined as 'public'.
> The Designer plugin will be installed in
> /usr/local/Qt-5.1.0/plugins/designer.
> The QScintilla API file will be installed in
> /usr/local/Qt-5.1.0/qsci/api/python.
> The PyQt .sip files will be installed in ~/py3qt50env/sip.
> pyuic4, pyrcc4 and pylupdate4 will be installed in ~/py3qt50env/bin.
> Embedding sip flags...
> Generating the C++ source for the QtCore module...
> Creating the Makefile for the QtCore module...
> Generating the C++ source for the QtDeclarative module...
> sip: QX11Info is undefined
> Error: Unable to create the C++ code.

Should be fixed in tonight's PyQt4 snapshot.

Thanks,
Phil


More information about the PyQt mailing list