<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">The following were required to get it to work:</div><div class=""><br class=""></div><div class=""><br class=""></div>—disable-feature=PyQt_OpenGL —disable-feature=PyQt_Desktop_OpenGL<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 1, 2019, at 3:47 PM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">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?</div><div class=""><br class=""></div><div class="">In a qt build configured like so (notice —no-opengl to get configure checks to pass on headless ubuntu)...</div><div class=""><br class=""></div><div class="">./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</div><div class=""><br class=""></div><div class="">….on a PyQt5-5.11.3 configured like so:</div><div class=""><br class=""></div><div class="">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</div><div class=""><br class=""></div><div class="">I get the following build error</div><div class=""><br class=""></div><br class="">
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgba(51, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f2f2f2" class="">In file included from </span><span style="font-variant-ligatures: no-common-ligatures" class="">/home/patrick/vendor/sysroot-dev/build/PyQt5_gpl-5.11.3/sip/QtGui/qopenglshaderprogram.sip:335:0</span><span style="font-variant-ligatures: no-common-ligatures; color: #f2f2f2" class="">,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(51, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                 from </span><span style="font-variant-ligatures: no-common-ligatures; color: #ffffff" class="">sipQtGuipart0.cpp:24</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgba(51, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../qpy/QtGui/qpyopengl_api.h:42:7:</span><span style="font-variant-ligatures: no-common-ligatures; color: #f2f2f2" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ca3424" class="">error: </span><span style="font-variant-ligatures: no-common-ligatures; color: #f2f2f2" class="">‘</span><span style="font-variant-ligatures: no-common-ligatures" class="">GLfloat</span><span style="font-variant-ligatures: no-common-ligatures; color: #f2f2f2" class="">’ does not name a type</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(51, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> const GLfloat *qpyopengl_attribute_array(PyObject *values, PyObject *shader,</span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thoughts?</div></div></div></blockquote></div><br class=""></body></html>