summaryrefslogtreecommitdiffstats
path: root/examples/scxml/trafficlight-widgets-static/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Revamp scxml trafficlight examplesJuha Vuolle2023-03-181-4/+4
| | | | | | | | | | | | | | | | | | | | In addition to general modernization, this commit changes the trafficlight structure slightly so that the qml-static and qml-dynamic variants have their own copies of the QML files. This way the examples remain standalone examples whilst using the contemporary qt_add_qml_module, without needing to introduce a shared common QML module. A shared common QML module is a viable option but would unnecesarily complicate example build/link/deployments. Task-number: QTBUG-111323 Change-Id: I7a289db2d2927d97438556362e4b2eff53821020 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 3314da2f16d2b0c1f52e8da07c299ee983314c59) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I31c9b88ff5d23016fe8844d711553b010d9ba46e 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: I5d2588f7e3fd99bbb8bccca1dcb256afc215231b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-02-211-13/+10
| | | | | | | | | | | | | | | | | - 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: Iaf7286069494041e90a59cedeae30ef26713d538 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@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: I821f412f9dbe11ae99ffd888a7ab2ba415ed9379 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Re-generate all CMake filesJoerg Bornemann2021-01-191-2/+10
| | | | | Change-Id: I40dd28da4ba47bd15471b471138900cd22b4e409 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Regenerate before mergeAlexandru Croitor2019-10-151-1/+2
| | | | | Change-Id: Ib78bff1d61ee9526b9e3373dbf109ae4d2dd81dc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Port QtScxml to CMakeJoerg Bornemann2019-09-261-0/+75
Change-Id: I227f18b6a9825b6974eab6ba9feaf62bd0934133 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>