summaryrefslogtreecommitdiffstats
path: root/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro')
-rw-r--r--tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro b/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
index 848b1c806..f1db2c5fb 100644
--- a/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
+++ b/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
@@ -2,11 +2,9 @@ CONFIG += testcase
TARGET = tst_qpaintervideosurface
QT += multimedia-private multimediawidgets-private testlib
-qtHaveModule(opengl) {
+qtHaveModule(opengl): \
QT += opengl
-} else {
- DEFINES += QT_NO_OPENGL
-}
+
SOURCES += tst_qpaintervideosurface.cpp