| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The function sets the required CMake variables and policies.
Pick-to: 6.5
Task-number: QTBUG-112685
Change-Id: Ie96433994aab01d4aea3942ca860f515027c762f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: I8720313b2bc9cf9312a1f1a3d40171e1b2c8a257
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-105718
Change-Id: Ica4da2b513a5c8f58b9f955e5cdabb92bbf5f48a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: Ic3d0ab6a3e3a32ce0bab59074242c0e17c6965dd
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When Qt is configure with -qt-zlib (like our Windows configs in CI) we
create a QtZlibPrivate target and install it.
QtSvg depends on this targets.
When building examples in-tree (not as external projects)
find_package(Qt6Svg) in the example projects will call
find_dependency(Qt6Zlib).
Currently that will fail with
Found package configuration file:
lib/cmake/Qt6ZlibPrivate/Qt6ZlibPrivateConfig.cmake
but it set Qt6ZlibPrivate_FOUND to FALSE so package "Qt6ZlibPrivate"
is considered to be NOT FOUND. Reason given by package:
Target "Qt6::ZlibPrivate" was not found. Possibly due to
QT_NO_CREATE_TARGETS being set to TRUE
It's true, we set QT_NO_CREATE_TARGETS to FALSE when configuring
examples, to prevent duplicate target creation.
But the Zlib target was not created, because we didn't find_package
it explicitly before configuring examples.
Work around it by explicitly looking for the package before examples
are built.
Pick-to: 6.2 6.3
Change-Id: If5c474d62a2939bc32373b2e92d3151f377f51bc
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: QTBUG-86053
Change-Id: I356d9b551209a2870e9484112658d0470d056a85
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: Ie5198bc76688e40170a8b0a401435f97898bb818
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: Icb0da709c1cb8d2bdc2f33edfe656b7821cb148a
|
|
|
|
|
| |
Change-Id: Ic120895d1789db29f4218fcf6e01bacb8af3e13a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This cleans up the top-level CMakeLists.txt file.
Task-number: QTBUG-75580
Change-Id: I094d9d63937664b98b5ccfb624ffc4aa91859fe7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
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>
|