summaryrefslogtreecommitdiffstats
path: root/tests/auto/opengl/qglfunctions/qglfunctions.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/opengl/qglfunctions/qglfunctions.pro')
-rw-r--r--tests/auto/opengl/qglfunctions/qglfunctions.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/opengl/qglfunctions/qglfunctions.pro b/tests/auto/opengl/qglfunctions/qglfunctions.pro
index 321f62534e..a512ea0dd9 100644
--- a/tests/auto/opengl/qglfunctions/qglfunctions.pro
+++ b/tests/auto/opengl/qglfunctions/qglfunctions.pro
@@ -1,7 +1,7 @@
CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qglfunctions
-requires(contains(QT_CONFIG,opengl))
+requires(qtHaveModule(opengl))
QT += opengl widgets testlib
SOURCES += tst_qglfunctions.cpp