summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-031-0/+1
| | | | | | | | | The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I59c4f5306e08ecc15f9774e0283cb3fb0761484d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Remove remains of qmake conversion from CMakeLists.txt filesFriedemann Kleint2023-02-081-7/+2
| | | | | | Pick-to: 6.5 Change-Id: Ic00df7d45246270d724b3b1d1ef9d13d76dcc136 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-251-1/+1
| | | | | | Task-number: QTBUG-105718 Change-Id: I2df3a8aec11f30f301e3143e9960156b6f45e614 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-08-021-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: I41a2c9aa6a933a4e3dda5d5b4c70c461912907b2 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Compile repo with warnings as errorsKai Köhne2022-01-201-4/+0
| | | | | | | | | Let the compilation fail if new warnings are introduced for developer builds & supported compilers. Pick-to: 6.2 6.3 Change-Id: I45653c1a0576cf7ef27c70bfe07de202e9311df3 Reviewed-by: Topi Reiniö <topi.reinio@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: I1191a6b4b5c13b2b6047a0e2a2ff8c3801f6762b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* qdoc/lupdate: Link against QmlPrivate instead of QmlDevToolsPrivateJoerg Bornemann2021-07-071-1/+1
| | | | | | | QmlDevToolsPrivate has been removed. Change-Id: I8731a168e4aa58e13e9e8737f66be4b69456514f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Rename QmlDevTools to QmlDevToolsPrivateAlexey Edelev2021-06-171-1/+1
| | | | | Change-Id: Icec4885ef5e56019c4fac205aa15a224d91ef0b8 Reviewed-by: Alexandru Croitor <alexandru.croitor@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: If287b713e7393f4b82de0a511a0c818510845e8b 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: Ibea15ff714958ad3e70a8b86ae8c6c18c94ccf16 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fix missing qdbus.exe and qdbusviewer.exe on WindowsLi Xinwei2020-11-221-3/+1
| | | | | | | | | Qt DBus module is also available on Windows. Excluding it from optional components of Win32 will prevent building qdbus.exe and qdbusviewer.exe. Pick-to: 6.0.0 6.0 Change-Id: Id2cb4965beb8f136c62c42a80bc9b922d0ffca3b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Add deferred dependencies to doc toolsJoerg Bornemann2020-10-271-0/+6
| | | | | | | | | | | | qt_internal_add_docs defers dependencies to qdoc, qtattributionsscanner and qhelpgenerator. Call qt_internal_add_deferred_dependencies after those targets have been created. This makes it possible to build the doc tools automatically when building generate_docs_Foo targets without installing first. Change-Id: I4fa5082830303cfb22ed2b590e0e9036c3678cd4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Make optional packages not being found a bit quieterAlexandru Croitor2020-10-211-2/+3
| | | | | | Task-number: QTBUG-86053 Change-Id: I9afbea16b8b71f78a77ff77efd57397b438eba60 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix warnings from missing optional modulesVolker Hilsheimer2020-10-201-1/+10
| | | | | | | | Don't try to add AxContainer and DBus on platforms where those are not relevant. Change-Id: Ibfa9845df59fbe2e5036207018bc1893f07e88d9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Disable usage of CMake API compatibility wrappersAlexandru Croitor2020-10-011-0/+4
| | | | | | | | | 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: I35f75f7a384abb5265e8d02ec22f8218ef11e234 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Regenerate qttoolsAlexandru Croitor2020-06-291-1/+2
| | | | | Change-Id: I215dd95fe4467b2b2a7c24b1b5be523ef2e83980 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Fix build of the ActiveQt designer pluginJoerg Bornemann2020-05-141-1/+1
| | | | | | | We need to add AxContainer to the top-level find_package call. Change-Id: I5ba26c6c75d54387a9cb7617a65fecd86b2f836d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* cmake: Add Qt6Dbus to the optional dependencies listChristophe Giboudeaux2020-05-071-1/+1
| | | | | | | | The build system checks whether the 'Qt::DBus' target is available before building src/qdbus. Change-Id: I29bd8305cfc32d1a07847aecb94054ed8f8988c7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fix qttools build if qtdeclarative is not availableAlexandru Croitor2020-03-201-1/+1
| | | | | | | | | | | OpenGL and OpenGLWidgets were implicitly found via qtdeclarative modules, but the configuration fails in case if those are not present. So they should be explicitly searched for. Change-Id: Ia54451f66ca291fac84eb1ba8937d532a5675b8a Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Port the rest of QtToolsLeander Beernaert2019-12-121-1/+1
| | | | | | Change-Id: I4115bde9af38219682d0e6707bc7aa8fcb8d6bb0 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix buildSimon Hausmann2019-11-221-1/+1
| | | | | | | | Designer needs Qt::Network and since it's not conditional in src, let's make it a required package. Change-Id: I23ebe8a298999b87b5e4ca0d2a03d97568182d55 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Mark qttools as not being warnings cleanAlexandru Croitor2019-11-121-2/+5
| | | | | | | | | | So that compilation doesn't fail when the WARNINGS_ARE_ERRORS option is enabled. This mimics what .qmake.conf warning_clean does. Change-Id: I511697c226465e67b14762fd2c52c90e0270a8fc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Regenerate before mergeAlexandru Croitor2019-10-151-4/+8
| | | | | Change-Id: I857f2c966240b5e056e30531b4bc3e2fc9c68e8e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Initial port to CMakeAlexandru Croitor2019-08-281-0/+12
Includes the main bits and also projects under src/linguist. Task-number: QTBUG-76002 Change-Id: I5fa9144c834f245ab85fc831c8e58afd8d02800e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>