summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/mediaplayer/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Improve examples CMakeLists.txt (II)Kai Köhne2022-03-211-26/+7
| | | | | | | | | | | | - Remove double newline at the end - Use unversioned Qt commands - Remove QtC specific hacks Amends 236eec9cbe3 Pick-to: 6.3 Change-Id: Ia6dc5dc801a9002f9f5740869651c343b714913b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix missing main.qml in examplesSamuel Mira2022-03-091-3/+18
| | | | | | | | | | | | | | | | These examples use resources files with qml files inside but the resource files were added in the project sources. That prevented the app to find and use the resource files. To fix the issue the resources were added using qt6_add_resources macro. Note that adding the cmake flag set(CMAKE_AUTORCC ON) would also work, but the qt6_add_resources macro is more consistent with the rest of the examples. Fixes: QTBUG-101518 Pick-to: 6.3 Change-Id: I5fb2481d5576683171a2292bdc35e417ee6d8fab Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-02-171-6/+2
| | | | | | | | | | | | | | | | | - 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>
* CMake: add install command for examplesSamuli Piippo2022-01-181-0/+12
| | | | | | | | Add install command to deploy the examples correctly. Pick-to: 6.3 6.2 Change-Id: If9c24c4267a801078a4bf3f783587afeeb734be0 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* QNX: Instantiate the QNX backendLars Knoll2022-01-171-1/+1
| | | | | | | | And fix a few smaller issues. Change-Id: I8336820832810102329e97d225d09d0c8fdae8b1 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
* Fix mediaplayer QML example's layout and iconsAssam Boudjelthia2021-08-251-2/+2
| | | | | | | | | | | | | 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>
* Raise cmake_minimum_required to VERSION 3.16 in examplesJoerg Bornemann2021-08-171-1/+1
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-95636 Change-Id: I67a136d4437269f9afea9bf71d424d46132f4fa4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add an example media player written in QMLPiotr Srebrny2021-06-031-0/+45
Change-Id: I98c35b3888701f94efaf58b3ab6c08c39943bdf8 Reviewed-by: Lars Knoll <lars.knoll@qt.io>