summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add screen capture example, without window capture functionalityLars Sutterud2023-04-041-0/+1
| | | | | | | | | In order to include the screen capture example in Qt 6.5, all functionality using the window capturing api has been removed from the example, and the UI has been updated to reflect this change. Change-Id: Ic14510933554928192d4ac2305141f18922ee3b4 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Let examples show up in Qt Creator againKai Köhne2022-09-051-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Fix an issue where the relative paths in the generated examples-manifest.xml did miss the parent directory, effectively blocking the examples from being shown in the Qt Creator Welcome screen. This broke in commit c403e775f60a, where the exampledirs path was changed from "../../../examples" to "../../../examples/multimedia" and "../../../examples/multimediawidgets". This made qdoc miss the "multimedia" and "multimediawidgets" directories in the generated paths. To fix this, the patch * moves all the multimediawidgets examples to multimedia * sets examplesinstallpath to "multimedia" The unification of directories is needed because there can be only one examplesinstallpath per qdoc project. Pick-to: 6.4 Fixes: QTBUG-104943 Change-Id: I4d1b1f857563ec23b4d60028ca08d0470ba96298 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: Lars Knoll <lars@knoll.priv.no>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: Iaf0950f30b9332ec7f04113971bc58547e31a2b9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-071-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: If5c61e7ebea0452847d411ea230438095111e030 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Split spatial audio out into a lib of its ownLars Knoll2022-06-161-1/+0
| | | | | | | | | | | | | | | | | | | | | Move the classes from src/multimedia/spatial into its own QtSpatialAudio library. This is required to keep Qt Multimedia compatible with the requirements from the KDE Free Qt Foundation agreement, as well as to keep license compatibility with existing applications licensed under GPLv2 that are using Qt Multimedia. Moving the classes into a module of their own required a few additional changes to ensure we generate proper documentation for the new spatial audio module. To align the API between C++ and QML, the QML import was also renamed to QtQuick3D.SpatialAudio. Pick-to: 6.4 Change-Id: Ia3f9ac5e1edac4b1e07d3302d7a229ada5bdc038 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Add example for spatial audioLars Knoll2022-05-111-0/+1
| | | | | | | | A simple widget based example that lets you pan one sound source around in space. Change-Id: I09e66fd217a136ef5bacaf7c3bb46af462993736 Reviewed-by: Rafael Roquetto <rafael.roquetto@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-02-171-2/+0
| | | | | | | | | | | | | | | | | - Remove "# generated from xyz.pro" comment from pro2cmake - Remove automatic use of CMAKE_AUTORCC - Only opt into CMAKE_AUTOUIC if .ui files are involved - Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR - Combine multiple find_package(Qt6 ... calls) - use REQUIRED COMPONENTS - sort components alphabetically - Fix wrong indentations - Use (only) one empty line after multi-line commands Pick-to: 6.3 Change-Id: I9f60da23df1547d685439b0263fa5bf533b7c69e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Switch examples to build as isolated sub-buildsAlexandru Croitor2021-12-151-8/+8
| | | | | | | Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I7b3fe87c4dc9b3ed71c97598d07c592c7e707db8 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Exclude example from Android and iOS the right wayAssam Boudjelthia2021-09-221-1/+3
| | | | | | | | | Don't add_subdirectory(devices) for Android and iOS, instead of throwing a warning. Pick-to: 6.2 Change-Id: Iaa4300d3ad875557f11504f80d0224d72debe2f9 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* don't include audiodevices from CMake for mobileAssam Boudjelthia2021-08-261-1/+3
| | | | | | | | This amends 7038c860dbb3c329c567e5dc0a87d4063700d549. Pick-to: 6.2 Change-Id: I60207a32b7133096ffba4e53d8e7481c88e9d324 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Rename QAudioInput to QAudioSourceLars Knoll2021-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The renaming is a part of some changes coming from an API review that tries to solve the problem of not having API symmetry between QCameraInfo/QCamera and QAudioDeviceInfo where QAudioDevice is missing (so you can't select a nullptr as the input/output device to disable it). One issue is that QAudioInput/QAudioOutput are there for reading and writing low level PCM data from an audio device. They as such are not quite suitable as classes to use together with QMediaPlayer or QMediaCaptureSession, as they allow direct writing of data bypassing the player or capture pipeline. To solve this, we renamve those classes to QAudioSource/Sink (making it a bit more symmetric with QVideoSink). That opens up our API space for a QAudioDevice class avoiding names that feel like they are doing the same thing. The patch also renames things on the backend side to keep API and implementation consistent. Change-Id: I9f6b4892d3eee4e252cb3782e681b0c3824f27e2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Add example for listing audio and video devices and their propertiesDoris Verria2021-02-171-0/+1
| | | | | Change-Id: I718bfc799b500ca6b931f3fa237f5199c7b6badc Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Initial Cmake port for qtmultimediaDoris Verria2021-01-201-0/+14
Fixes: QTBUG-89540 Change-Id: I2cf8d0edae2769a53cadd667ab5ac4f9cb754a50 Reviewed-by: Lars Knoll <lars.knoll@qt.io>