summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/qopengl/qopengl.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/qopengl/qopengl.pro')
-rw-r--r--tests/auto/gui/qopengl/qopengl.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/qopengl/qopengl.pro b/tests/auto/gui/qopengl/qopengl.pro
index 12429bbeed..85297de1e1 100644
--- a/tests/auto/gui/qopengl/qopengl.pro
+++ b/tests/auto/gui/qopengl/qopengl.pro
@@ -10,3 +10,5 @@ QT += gui-private core-private testlib
SOURCES += tst_qopengl.cpp
win32-msvc2010:contains(QT_CONFIG, angle):CONFIG += insignificant_test # QTBUG-31611
+
+linux:contains(QT_CONFIG, xcb-glx):contains(QT_CONFIG, xcb-xlib):!contains(QT_CONFIG, opengles2): DEFINES += USE_GLX