Configuring

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Configuring

Patrick Stinson-3
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?

_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: Configuring

Patrick Stinson-3
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 <[hidden email]> 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?


_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt