[PyQt] Configuring

Patrick Stinson patrickkidd at gmail.com
Sat Mar 2 09:10:56 GMT 2019


The following were required to get it to work:


—disable-feature=PyQt_OpenGL —disable-feature=PyQt_Desktop_OpenGL

> On Mar 1, 2019, at 3:47 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> 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/20190302/b12a8ea9/attachment-0001.html>


More information about the PyQt mailing list