summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgl/qgl.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgl/qgl.pro')
-rw-r--r--tests/auto/qgl/qgl.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qgl/qgl.pro b/tests/auto/qgl/qgl.pro
index 55e329d..420c4bb 100644
--- a/tests/auto/qgl/qgl.pro
+++ b/tests/auto/qgl/qgl.pro
@@ -3,7 +3,8 @@
############################################################
load(qttest_p4)
-contains(QT_CONFIG, opengl):QT += opengl
+requires(contains(QT_CONFIG,opengl))
+QT += opengl
SOURCES += tst_qgl.cpp