summaryrefslogtreecommitdiffstats
path: root/config.tests/glx/glx.pro
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/glx/glx.pro')
-rw-r--r--config.tests/glx/glx.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.tests/glx/glx.pro b/config.tests/glx/glx.pro
index 26f048f08..74cc60837 100644
--- a/config.tests/glx/glx.pro
+++ b/config.tests/glx/glx.pro
@@ -1,6 +1,8 @@
TARGET = glx
QT = core
+!contains(QT_CONFIG, opengl): error("glx support requires Qt configured with OpenGL")
+
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
PKGCONFIG += x11 gl