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.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro b/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
new file mode 100644
index 000000000..edf9c8975
--- /dev/null
+++ b/tests/auto/unit/qpaintervideosurface/qpaintervideosurface.pro
@@ -0,0 +1,18 @@
+CONFIG += testcase
+TARGET = tst_qpaintervideosurface
+
+QT += multimedia-private multimediawidgets-private testlib
+CONFIG += no_private_qt_headers_warning
+contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) {
+ QT += opengl
+} else {
+ DEFINES += QT_NO_OPENGL
+}
+
+contains(QT_CONFIG, opengl): QT += opengl
+
+SOURCES += tst_qpaintervideosurface.cpp
+
+# QPA-minimal and OpenGL don't get along
+CONFIG += insignificant_test
+QT+=widgets