summaryrefslogtreecommitdiffstats
path: root/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-01-13 15:39:29 +0100
committerLars Knoll <lars.knoll@qt.io>2021-01-22 07:03:16 +0000
commit85e2f9712f257627529b3877e0c71dcc344a5313 (patch)
tree68859195970d7374f28074b5cabf458926e2a5fc /.prev_CMakeLists.txt
parent98148969b112f82d2b49e77950ea5f6d8b37b8b2 (diff)
Add a QMediaDeviceInfo class to enumerate input/output devices
Use this as the starting point for a new QPA like backend infrastructure. Refactor places that use the device information to use the new infrastructure. Cleanup the audio subsystem part and port it over to the new infrastructure. Android and QNX are not ported yet. Change-Id: I99c459c998f1f05e1c40ad30c700011e41cef533 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to '.prev_CMakeLists.txt')
-rw-r--r--.prev_CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt
new file mode 100644
index 000000000..ca2f31416
--- /dev/null
+++ b/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qtmultimedia.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+include(.cmake.conf)
+project(QtMultimedia
+ VERSION "${QT_REPO_MODULE_VERSION}"
+ DESCRIPTION "Qt Multimedia Libraries"
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+
+if(NOT TARGET Qt::Gui)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.")
+ return()
+endif()
+if(NOT TARGET Qt::Network)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Network\" is not met.")
+ return()
+endif()
+qt_build_repo()