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.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgl/qgl.pro b/tests/auto/qgl/qgl.pro
index 9116f39..5f058f9 100644
--- a/tests/auto/qgl/qgl.pro
+++ b/tests/auto/qgl/qgl.pro
@@ -6,6 +6,8 @@ load(qttest_p4)
requires(contains(QT_CONFIG,opengl))
QT += opengl
+contains(QT_CONFIG,egl):DEFINES += QGL_EGL
+
SOURCES += tst_qgl.cpp
RESOURCES = qgl.qrc