summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/external-resources.qdoc
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-12-06 21:07:38 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-12-10 10:43:38 +0000
commitb9c80ecc08d98052e4757a916a8a55701be63497 (patch)
tree56f87dd073beca90db95da6f978b979023fe1a78 /src/corelib/doc/src/external-resources.qdoc
parent8aae821b5aa2bd0ac919683dcb3cb62913ca9063 (diff)
CMake: Add qt 'policy' support
This mimics CMake's policy support. The policy state is stored in an internal __QT_INTERNAL_POLICY_<policy> variable; by using normal variables, we gain support for stacking for free. Policies can be explicitly en- or disable via qt6_policy; that command also has a GET mode to retrieve them again. Furthermore, one can now pass min and max version to qt6_standard_project_setup, to opt in to a certain set of defaults introduced in a given Qt version. We add support for policies in QtModuleHelpers, so that we can check for known policies while building Qt itself. No actual policies exist yet; but a follow up commit will introduce one for qt_add_qml_module. Change-Id: I57a0404c9193926dd499f94cc5f73e359355c0b3 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/doc/src/external-resources.qdoc')
-rw-r--r--src/corelib/doc/src/external-resources.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/doc/src/external-resources.qdoc b/src/corelib/doc/src/external-resources.qdoc
index ecda025820..6faae09b69 100644
--- a/src/corelib/doc/src/external-resources.qdoc
+++ b/src/corelib/doc/src/external-resources.qdoc
@@ -131,3 +131,8 @@
\externalpage https://cmake.org/cmake/help/latest/prop_tgt/FOLDER.html
\title FOLDER
*/
+
+/*!
+ \externalpage https://cmake.org/cmake/help/latest/command/cmake_policy.html
+ \title cmake_policy
+*/