summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-111-0/+1
| | | | | | | | | The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I39697af7bf1595c821d1393e1d1120e0e2a467be 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: Iec124e0bceb4335370674a222970cd9c1b90763f 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: I9499ba4c20f610ffe8af0fc3e29e6581247f2c40 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use simpler names for documentation targetsKai Köhne2022-01-121-2/+2
| | | | | | | | | | | | | | Name the build targets like the project, without a 'doc' attached. This way, you can now e.g. run ninja html_docs_qtcmake instead of ninja html_docs_CMakeDoc Change-Id: I817e8ad91e8646c17cc7b7ffad70fa2b415668f4 Reviewed-by: Joerg Bornemann <joerg.bornemann@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: I23a59d7bfa89ffdacf8002b03657b7da38669ee2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Remove unneeded CMake variable assignmentsJoerg Bornemann2021-06-141-8/+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: I64e4b16d527728394dab0a05b0c2516f56b44e70 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use fixed qt_add_resource BASE argumentJoerg Bornemann2021-05-251-0/+3
| | | | | | | | Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: I2e2e54bbee9d7e88d1186fef4f457e0bdd0b1836 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update examples to use XmlListModel from QtDeclarativeIvan Solovev2021-03-161-2/+2
| | | | | | | | | | | | | | | | | | | Now when the XmlListModel is a part of QtDeclarative, we can udpate the examples, which were using the model. This patch introduces the following changes: - Uses XmlListModel from QtDeclarative, removes the custom implementation from shared subdir. - Improves photoviewer and rssnew examples to get rid of some qml and C++ warnings and deprecation notifications. - Updates the documentation for photoviewer and rssnew examples to reflect the usage of the XmlListModel from QtDeclarative. - Enables documentation build for rssnews example Task-number: QTBUG-89817 Change-Id: If3736a18070dc19492058f7c184d5c9cfab74663 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Adapt to CMake variable rename in qtbaseKai Koehne2020-12-021-2/+2
| | | | | | | Change-Id: Iccb8ac22850eabafa667494a88c374a7760d79ec Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit fc10f25f407a286977fa51e8159ec79c35763de0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CMake: Adapt to new variable QT_BUILD_TESTSJoerg Bornemann2020-11-201-1/+1
| | | | | | Pick-to: 6.0 6.0.0 Change-Id: If6246c63efcf5a8bbe020490aa292d38d29facd4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Doc: Add CMake build config for Platform Integration docsTopi Reinio2020-11-161-0/+2
| | | | | Change-Id: I8c347ec7fb140119c4e3e9fa8084e2e2e3d6d854 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* CMake: Make Gui package optionalAlexandru Croitor2020-11-101-2/+2
| | | | | | | | | This allows a no-error configuration of a -no-gui Qt build. qmake does the same. Task-number: QTBUG-88343 Change-Id: Ic9e3136893236d0eef39426a23708ea8504985c0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Disable usage of CMake API compatibility wrappersAlexandru Croitor2020-10-071-0/+5
| | | | | | | | | Setting the QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS variable in the project ensures we ported away from old API calls. Task-number: QTBUG-86815 Change-Id: I10aa563c3d927158bf3cbd93345b238afcbce0a4 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake: Regenerate projects before API changeAlexandru Croitor2020-10-011-2/+3
| | | | | | | Task-number: QTBUG-86815 Change-Id: Id8da24b8a26f0263324a8fed5fd9cedbfa3ee11a Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* CMake: Do build QtCMake documentationKai Koehne2020-09-141-0/+2
| | | | | | | | Commit 37e2fe2b4cc did move the cmake documentation into it's own directory / target for qmake; do the same for CMake. Change-Id: I6ed87e6db4b116f37f20fc4a54285c0748809611 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fixup qtdoc builds for CoinAlexandru Croitor2020-05-141-4/+29
| | | | | | | | | | | | | | | Optional Sql package was missing. Certain conditions need to be copy-pasted to handle builds of standalone tests. Finally a dummy file needs to be installed for now, so that Coin doesn't skip uploading the main artifact, and thus also skip building tests. Change-Id: Ic6414facb569e56a01105d9616684e84a3b458e5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* CMake: Port the build setup to CMakeVenugopal Shivashankar2020-05-041-0/+21
Fixes: QTBUG-83910 Change-Id: If0ebd9d0b528cd84ffe92955b7d1c4d580d397fb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>