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, 3 insertions, 3 deletions
diff --git a/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro b/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
index 4408c4f54..30ce70b79 100644
--- a/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
+++ b/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
@@ -2,17 +2,17 @@ CONFIG += testcase
TARGET = tst_qpaintervideosurface
QT += multimedia-private multimediawidgets-private testlib
-contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) {
+qtHaveModule(opengl) {
QT += opengl
} else {
DEFINES += QT_NO_OPENGL
}
-contains(QT_CONFIG, opengl): QT += opengl
-
SOURCES += tst_qpaintervideosurface.cpp
QT+=widgets
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = precise ]"):DEFINES+=UBUNTU_PRECISE_PANGOLIN
+
win32:contains(QT_CONFIG, angle): CONFIG += insignificant_test # QTBUG-28542