summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2022-05-21 11:31:16 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2022-05-27 12:42:41 +0200
commit2af4fef475cc3e6f4b46953b1bc964c1d400d4b3 (patch)
treeb18b20cd3ec401fbeed55f6d9e89b9a3e1702b5d
parent85a1b7e3a6d91b018863aabe243f3fd03865733e (diff)
downloadqtmultimedia-2af4fef475cc3e6f4b46953b1bc964c1d400d4b3.tar.gz
Add missing qmake files for multimedia examples
Change-Id: I7442b1e2bac663c560f37e35cb71a6aa6984d8b0 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--examples/multimedia/devices/devices.pro10
-rw-r--r--examples/multimedia/multimedia.pro7
-rw-r--r--examples/multimedia/spatialaudio/spatialaudio.pro9
3 files changed, 24 insertions, 2 deletions
diff --git a/examples/multimedia/devices/devices.pro b/examples/multimedia/devices/devices.pro
new file mode 100644
index 000000000..a03166ca4
--- /dev/null
+++ b/examples/multimedia/devices/devices.pro
@@ -0,0 +1,10 @@
+TEMPLATE = app
+TARGET = devices
+
+SOURCES = main.cpp
+
+QT += multimedia
+CONFIG += console
+
+target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/devices
+INSTALLS += target
diff --git a/examples/multimedia/multimedia.pro b/examples/multimedia/multimedia.pro
index b34d8f95e..c58cb7b18 100644
--- a/examples/multimedia/multimedia.pro
+++ b/examples/multimedia/multimedia.pro
@@ -1,7 +1,9 @@
TEMPLATE = subdirs
QT_FOR_CONFIG += multimedia-private
-SUBDIRS += audiodecoder
+SUBDIRS += \
+ audiodecoder \
+ devices
# These examples all need widgets for now (using creator templates that use widgets)
qtHaveModule(widgets) {
@@ -9,7 +11,8 @@ qtHaveModule(widgets) {
spectrum \
audiorecorder \
audiodevices \
- audiooutput
+ audiooutput \
+ spatialaudio
}
qtHaveModule(quick) {
diff --git a/examples/multimedia/spatialaudio/spatialaudio.pro b/examples/multimedia/spatialaudio/spatialaudio.pro
new file mode 100644
index 000000000..f9f316916
--- /dev/null
+++ b/examples/multimedia/spatialaudio/spatialaudio.pro
@@ -0,0 +1,9 @@
+TEMPLATE = app
+TARGET = spatialaudio
+
+QT += multimedia widgets
+
+SOURCES = main.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/spatialaudio
+INSTALLS += target