summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-091-0/+1
| | | | | | | | | The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I2132bb22f24bd3a683f5168e2fc5f974680f1080 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
* 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>
* Partially revert "wasm: update and fix qwasmaudiodevice"Jani Heikkinen2022-08-091-5/+0
| | | | | | | | | | | | | This reverts CMakeLists.txt changes from commit 731e6b6f510b01e496860a208d304789aa72fca3. After this revert qtmultimedia is build even QT_FEATURE_thread is not set. Reason for revert: QTBUG-105299 Pick-to: 6.4 Change-Id: Ia20c74fcead4297206332a3fdce46648dc443a8b Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* 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>
* wasm: update and fix qwasmaudiodeviceLorn Potter2022-07-061-0/+5
| | | | | | | | | | | | - set min and max sample rates according to AudioContext docs - remove use of EM_ASM to allow better use of multithreading - ensure feature thread is used Fixes: QTBUG-104045 Pick-to: 6.4 Change-Id: Id0bf8905c68f4364abc6f3a9029f75cc5275ff0b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Lars Knoll <lars.knoll@gmail.com>
* Add the Quick3D.SpatialAudio QML moduleLars Knoll2022-05-111-1/+1
| | | | | | | | | Also this has been developed outside of Qt Multimedia so far, but it makes sense to add it here. This does however introduce an optional dependency of this module to qt quick3d. Change-Id: I357505a5832976917414acc07ca0480a635af176 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-221-1/+1
| | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Pick-to: 6.2 Task-number: QTBUG-95018 Change-Id: Id82b92f9bd22bde29b30eea4e0e0b2cc23447d13 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix mediaplayer QML example's layout and iconsAssam Boudjelthia2021-08-251-1/+1
| | | | | | | | | | | | | The play control buttons were overlaying the rate seekbar and have wrong layout on both portrait and landscape. Also make sure QtSvg is added to the project because mute/unmute button is an svg image and it's not being loaded properly without the fix. Pick-to: 6.2 Change-Id: I98e26273ca5a2496d624c378d868ac497dd19741 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Remove unneeded CMake variable assignmentsJoerg Bornemann2021-06-141-6/+0
| | | | | | | | | | | | Remove assignments to the transitionary variables QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS and QT_USE_FIXED_QT_ADD_RESOURCE_BASE. Both are not needed anymore. Task-number: QTBUG-94444 Change-Id: Iaa611889722d46e10b20dd566c2030a21f3e025a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Use fixed qt_add_resource BASE argumentAlexandru Croitor2021-06-091-0/+3
| | | | | | Task-number: QTBUG-86726 Change-Id: I5e96d2329ef048b31e182122b9cd86b6aa6ceaeb Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add an example media player written in QMLPiotr Srebrny2021-06-031-1/+1
| | | | | Change-Id: I98c35b3888701f94efaf58b3ab6c08c39943bdf8 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Remove the dependency on the QtOpenGL moduleLars Knoll2021-05-281-1/+2
| | | | | | | | | It's not being used anymore. Change-Id: Ic6964e44845f3eb22265a4e975f4b5466055fb9e Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: André de la Rocha <andre.rocha@qt.io>
* CMake: Remove usage of old compatibility CMake APIAlexandru Croitor2021-05-271-2/+3
| | | | | | Task-number: QTBUG-86815 Change-Id: I576c52bfa41db5b52defd39615d944a05953b540 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add find modules for 3rd party libraries and fix CMake filesDoris Verria2021-01-281-2/+2
| | | | | | | | | Detect gstreamer, avfoundation, pulseaudio, alsa, mmrenderer and wmf with cmake. Regenerate and adjust configure.cmake and CMakeLists.txt files accordingly. Change-Id: I550136909498d3870e0babd6294652774a718f64 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Initial Cmake port for qtmultimediaDoris Verria2021-01-201-0/+26
Fixes: QTBUG-89540 Change-Id: I2cf8d0edae2769a53cadd667ab5ac4f9cb754a50 Reviewed-by: Lars Knoll <lars.knoll@qt.io>