Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0
-
Debian 7
-
2852a8b87e3a8ed95b72d26b0e180b7fd4491cf3
Description
Hi:
We have to build Qt5 on Linux with -qt-xcb, but if we are doing so, the GLX could never be enabled, because the way the qtbase/configure is written, the GLX can only be enabled and config test will only run if we build with system xcb lib, which we do not want to.
Is there any rationale behind this logic?
Here is my temporary change. I tried to move the following part of code outside of the if [ "$CFG_XCB" != "no" ] scope:
if compileTest qpa/xcb-glx "xcb-glx" $QMAKE_CFLAGS_XCB $QMAKE_LIBS_XCB; then
CFG_XCB_GLX=yes
QT_CONFIG="$QT_CONFIG xcb-glx"
fi
just to make sure glx config test will run. After the change, I can see the QGLWidget works fine on my Deb 7 machine.
Attachments
For Gerrit Dashboard: QTBUG-43784 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
150646,3 | XCB: Auto-detect xcb-glx also with xcb-qt | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |