summaryrefslogtreecommitdiffstats
path: root/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-08-19 10:20:12 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-19 13:49:14 +0000
commitd47e412b7b196e37196fa7c7469ae3b54eecf6d4 (patch)
tree3c3468f270182e0537e6104a2003fae72fb8d4e3 /tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
parent48bc5ce99ccc3857b1663bcb75b71a9319a0e8e4 (diff)
Adjust to qtConfig() changes in qtbase
Change-Id: I26d80ece18abf882338de5ce0258469ed103a0eb Reviewed-by: Yoann Lopes <yoann.lopes@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
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