summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideo
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-07-14 12:40:48 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-08-06 10:03:59 +0200
commit8b5076c297ecd989fd66e7a41404d1c7741740db (patch)
tree28fa83fa57ba615180e9377687e0a7d9923b3985 /examples/multimedia/video/qmlvideo
parentd2bdac6cf057b2dade46d8da844eeac4c7396e7a (diff)
Restore qmake project files for examples
We regression-test in the CI by building examples with qmake. This partly reverts commit 7b28765dd0898e0638555e990308dc2fa09b79da. Pick-to: 6.2 Fixes: QTBUG-95065 Change-Id: Ib146eeb974d4e94d580597dbaae93378aa5561a9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/multimedia/video/qmlvideo')
-rw-r--r--examples/multimedia/video/qmlvideo/qmlvideo.pro25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/multimedia/video/qmlvideo/qmlvideo.pro b/examples/multimedia/video/qmlvideo/qmlvideo.pro
new file mode 100644
index 000000000..dbd3a42a1
--- /dev/null
+++ b/examples/multimedia/video/qmlvideo/qmlvideo.pro
@@ -0,0 +1,25 @@
+TEMPLATE = app
+TARGET = qmlvideo
+
+QT += quick multimedia
+android: qtHaveModule(androidextras) {
+ QT += androidextras
+ DEFINES += REQUEST_PERMISSIONS_ON_ANDROID
+}
+
+LOCAL_SOURCES = main.cpp
+LOCAL_HEADERS = trace.h
+
+SOURCES += $$LOCAL_SOURCES
+HEADERS += $$LOCAL_HEADERS
+RESOURCES += qmlvideo.qrc
+
+SNIPPETS_PATH = ../snippets
+include($$SNIPPETS_PATH/performancemonitor/performancemonitordeclarative.pri)
+
+target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/video/qmlvideo
+INSTALLS += target
+
+EXAMPLE_FILES += \
+ qmlvideo.png \
+ qmlvideo.svg