<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I'm a newcomer to this forum.<br>
I am starting to use Qt 5 for development on Ubuntu 14.04 (32bit).<br>
I managed to get Qt 5.2.1 + PyQt working earlier and run some basic
test apps in Qt Creator.<br>
<br>
While attempting to install latest eric6 IDE I encountered this ..<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<i>"Sorry, you must have Qt version 4.8.0 or better or 5.3.0 or</i><span
style="color:#000000;"><i> better".</i><br>
<br>
</span>
<title></title>
<meta name="generator" content="CherryTree">
<link rel="stylesheet" href="styles.css" type="text/css">
So I decided to upgrade to Qt 5.5.1 and then install latest PyQt
snapshot.<br>
I purged all older Qt versions and now have Qt 5.5 Creator working
as before.<br>
<br>
...<br>
<br>
My current problem is getting Qt5.5.1 + latest PyQt5 working.<br>
<br>
I have both python2 and python3 installed to choose from.<br>
<br>
After running <font color="#000099">... python3 configure.py</font>
... I received this report.<br>
<br>
<blockquote><font color="#000099">/...<br>
Do you accept the terms of the license? yes</font><br>
<font color="#000099">Found the license file pyqt-gpl.sip.</font><br>
<font color="#000099">Checking to see if the QtGui module should
be built...</font><br>
<font color="#000099">Checking to see if the QtHelp module should
be built...</font><br>
<font color="#000099">Checking to see if the QtMultimedia module
should be built...</font><br>
<font color="#000099">Checking to see if the QtMultimediaWidgets
module should be built...</font><br>
<font color="#000099">Checking to see if the QtNetwork module
should be built...</font><br>
<font color="#000099">Checking to see if the QtOpenGL module
should be built...</font><br>
<font color="#000099">Checking to see if the QtPrintSupport module
should be built...</font><br>
<font color="#000099">Checking to see if the QtQml module should
be built...</font><br>
<font color="#000099">Checking to see if the QtQuick module should
be built...</font><br>
<font color="#000099">Checking to see if the QtSql module should
be built...</font><br>
<font color="#000099">Checking to see if the QtSvg module should
be built...</font><br>
<font color="#000099">Checking to see if the QtTest module should
be built...</font><br>
<font color="#000099">Checking to see if the QtWebKit module
should be built...</font><br>
<font color="#000099">Checking to see if the QtWebKitWidgets
module should be built...</font><br>
<font color="#000099">Checking to see if the QtWidgets module
should be built...</font><br>
<font color="#000099">Checking to see if the QtXml module should
be built...</font><br>
<font color="#000099">Checking to see if the QtXmlPatterns module
should be built...</font><br>
<font color="#000099">Checking to see if the QtDesigner module
should be built...</font><br>
<font color="#000099">Checking to see if the QAxContainer module
should be built...</font><br>
<font color="#000099">Checking to see if the QtDBus module should
be built...</font><br>
<font color="#000099">Checking to see if the _QOpenGLFunctions_2_0
module should be built...</font><br>
<font color="#000099">Checking to see if the _QOpenGLFunctions_2_1
module should be built...</font><br>
<font color="#000099">Checking to see if the
_QOpenGLFunctions_4_1_Core module should be built...</font><br>
<font color="#000099">Checking to see if the QtSensors module
should be built...</font><br>
<font color="#000099">Checking to see if the QtSerialPort module
should be built...</font><br>
<font color="#000099">Checking to see if the QtX11Extras module
should be built...</font><br>
<font color="#000099">Checking to see if the QtBluetooth module
should be built...</font><br>
<font color="#000099">Checking to see if the QtMacExtras module
should be built...</font><br>
<font color="#000099">Checking to see if the QtPositioning module
should be built...</font><br>
<font color="#000099">Checking to see if the QtWinExtras module
should be built...</font><br>
<font color="#000099">Checking to see if the QtQuickWidgets module
should be built...</font><br>
<font color="#000099">Checking to see if the QtWebSockets module
should be built...</font><br>
<font color="#000099">Checking to see if the Enginio module should
be built...</font><br>
<font color="#000099">Checking to see if the QtWebChannel module
should be built...</font><br>
<font color="#000099">Checking to see if the QtWebEngineWidgets
module should be built...</font><br>
<font color="#000099">Checking to see if the QtLocation module
should be built...</font><br>
<font color="#000099">Checking to see if the QtNfc module should
be built...</font><br>
<font color="#000099">Checking to see if the dbus support module
should be built...</font><br>
<b><font color="#000099">Qt v5.5.1 (Open Source) is being used.</font></b><br>
<font color="#000099">The qmake executable is /usr/bin/qmake.</font><br>
<font color="#000099">Qt is built as a shared library.</font><br>
<b><font color="#000099">SIP 4.17.1-snapshot-e81b379b1518 is being
used.</font></b><br>
<font color="#000099">The sip executable is /usr/bin/sip.</font><br>
<font color="#000099">These PyQt5 modules will be built: QtCore,
QtGui, QtHelp, QtMultimedia,</font><br>
<font color="#000099">QtMultimediaWidgets, QtNetwork, QtOpenGL,
QtPrintSupport, QtQml, QtQuick,</font><br>
<font color="#000099">QtSql, QtSvg, QtTest, QtWebKit,
QtWebKitWidgets, QtWidgets, QtXml,</font><br>
<font color="#000099">QtXmlPatterns, QtDesigner, QtDBus,
_QOpenGLFunctions_2_0,</font><br>
<font color="#000099">_QOpenGLFunctions_2_1,
_QOpenGLFunctions_4_1_Core, QtSensors, QtSerialPort,</font><br>
<font color="#000099">QtX11Extras, QtBluetooth, QtPositioning,
QtQuickWidgets, QtWebSockets,</font><br>
<font color="#000099">QtWebChannel, QtWebEngineWidgets,
QtLocation, QtNfc.</font><br>
<font color="#000099">The PyQt5 Python package will be installed
in /usr/lib/python3/dist-packages.</font><br>
<font color="#000099">PyQt5 is being built with generated
docstrings.</font><br>
<font color="#000099">PyQt5 is being built with 'protected'
redefined as 'public'.</font><br>
<font color="#000099">The Designer plugin will be installed in
/opt/qt55/plugins/designer.</font><br>
<font color="#000099">The qmlscene plugin will be installed in
/opt/qt55/plugins/PyQt5.</font><br>
<font color="#000099">The dbus support module will be installed in</font><br>
<font color="#000099">/usr/lib/python3/dist-packages/dbus/mainloop.</font><br>
<font color="#000099">The PyQt5 .sip files will be installed in
/usr/share/sip/PyQt5.</font><br>
<font color="#000099">pyuic5, pyrcc5 and pylupdate5 will be
installed in /usr/bin.</font><br>
<font color="#000099">The interpreter used by pyuic5 is
/usr/bin/python3.</font><br>
<b><font color="#000099">Generating the C++ source for the QtCore
module...</font></b><b><br>
</b><b><font color="#000099">Error: Unable to create the C++ code.</font></b><br>
</blockquote>
<br>
Can you advise how to progress beyond the "unable to create the C++
code" error in configure?<br>
i.e. to configure / make / install PyQt5 latest snapshot (with
latest SIP snapshot).<br>
<br>
I have searched around and some other users have reported this
Error.<br>
<br>
Here is output from qtchooser ...<br>
<blockquote><font color="#000099">qtchooser -print-env</font><br>
<font color="#000099">QT_SELECT="default"</font><br>
<font color="#000099">QTTOOLDIR="/opt/qt55/bin"</font><br>
<font color="#000099">QTLIBDIR="/opt/qt55/li"</font><br>
</blockquote>
I did notice that the value of QTLIBDIR is truncated and surely
should be <font color="#000099">"/opt/qt55/li<b>b</b>". Is this
a clue?<br>
<br>
dl<br>
</font>
</body>
</html>