[PyQt] Configuring

Patrick Stinson patrickkidd at gmail.com
Fri Mar 1 23:47:14 GMT 2019


I seems that a vanilla Qt-5.12.0/PyQt-5.11.3 build is broken on vanilla ubuntu, because qt can’t find the OpenGL headers/libs? Is it possible to build PyQt5 without the OpenGL requirement?

In a qt build configured like so (notice —no-opengl to get configure checks to pass on headless ubuntu)...

./configure -opensource -confirm-license -release -nomake examples -nomake tests -prefix $SYSROOT -skip qtactiveqt -skip qtcanvas3d -skip qtgamepad -skip qtremoteobjects -skip qtscript -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebview -no-opengl

….on a PyQt5-5.11.3 configured like so:

python configure.py --enable QtCore --enable QtGui --enable QtWidgets --concatenate -b $SYSROOT/bin --qmake `which qmake` --no-designer-plugin --no-qml-plugin --no-python-dbus --verbose --confirm-license

I get the following build error


In file included from /home/patrick/vendor/sysroot-dev/build/PyQt5_gpl-5.11.3/sip/QtGui/qopenglshaderprogram.sip:335:0,
                 from sipQtGuipart0.cpp:24:
../qpy/QtGui/qpyopengl_api.h:42:7: error: ‘GLfloat’ does not name a type
 const GLfloat *qpyopengl_attribute_array(PyObject *values, PyObject *shader,


Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190301/4c043658/attachment.html>


More information about the PyQt mailing list