summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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. Change-Id: Id1a29c5a857b02e739dc6f796ff44b3e8856428c Pick-to: 6.2 Task-number: QTBUG-95018 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: Ibe6affb6840ead2377216c8331909b8a39d06dcc 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-201-0/+3
| | | | | | | | Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: Ib2d2c13754ca2aef8ea419181215140f348eb6b6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fix no-widgets buildAlexandru Croitor2020-10-211-2/+2
| | | | | | Task-number: QTBUG-86053 Change-Id: I356d9b551209a2870e9484112658d0470d056a85 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake: Disable usage of CMake API compatibility wrappersAlexandru Croitor2020-10-011-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: I631565e8284250f14a88779b1a9b19b75830ca41 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Regenerate projects before API changeAlexandru Croitor2020-09-221-1/+2
| | | | | | | Task-number: QTBUG-86815 Change-Id: I2b5975cc1995518f1995955d9b655ab26e764ad0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Regenerate projectsAlexandru Croitor2019-11-151-3/+5
| | | | | | Change-Id: Ie5198bc76688e40170a8b0a401435f97898bb818 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Bump minimum CMake version to 3.15.0 as it is done in qtbaseAlexandru Croitor2019-08-271-1/+1
| | | | | | | | | We decided this in a workshop a while ago, where we noticed that the find_dependency() macro was broken in regards to finding additional components. 3.15.0 was the version that fixed it. Change-Id: I38822caec9ffb3dfc935f507d70811a34c16dd3e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Search for Xml package and check for the Xml target for a testAlexandru Croitor2019-07-031-0/+1
| | | | | | | | This fixes the CMake configuration to succeed if the Xml package is not built. Change-Id: I062ef1dc70c3eef286eaadb62a5fe6b7c827f3db Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/wip/qt6' into wip/cmakeAlexandru Croitor2019-06-171-2/+2
| | | | Change-Id: Icb0da709c1cb8d2bdc2f33edfe656b7821cb148a
* Use qt_build_repo() to simplify top-level CMakeLists.txtSimon Hausmann2019-05-211-15/+1
| | | | | Change-Id: Ic120895d1789db29f4218fcf6e01bacb8af3e13a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use the new BuildInternals packageAlexandru Croitor2019-05-151-1/+1
| | | | | | | | | | The Qt BuildInternals package is now the one providing the qt_build_repo macros. Task-number: QTBUG-75580 Change-Id: I6ee84a0be70699c0934e7570bd69b97b93fced0e Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Use the new macros introduced in qtbase for building qtsvgAlexandru Croitor2019-05-151-18/+2
| | | | | | | | This cleans up the top-level CMakeLists.txt file. Task-number: QTBUG-75580 Change-Id: I094d9d63937664b98b5ccfb624ffc4aa91859fe7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* cmake: Initial CMake build system supportKevin Funk2019-05-031-0/+41
Task-number: QTBUG-74135 Done-With: Alexandru Croitor <alexandru.croitor@qt.io> Done-With: Liang Qi <liang.qi@qt.io> Change-Id: I81fdc3d06f53e78182352214ef4687924dfc6fb6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>