diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-12-08 18:28:40 +0100 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-02-01 23:39:19 +0100 |
commit | ec452fc6e87e82d135d7ef782d5c811583d5c433 (patch) | |
tree | d23a91de87691375298ee23435fc4bd1f21a3475 /src/qml/CMakeLists.txt | |
parent | a6d9312c99d6f80cbea7538276d2890d0cc4c760 (diff) |
qt_add_qml_module: Make usage of AUTO_RESOURCE_PREFIX a policy
Writing AUTO_RESOURCE_PREFIX in every qt_add_qml_module call seems
rather pointless.
In addition:
- Add documentation for QTP0001.
- Adjust some of the examples to use QTP0001 policy.
- Improved the error message.
Pick-to: 6.5
Task-number: QTBUG-96233
Change-Id: I6e19a491acba97493893bf1953fca3462296c1ea
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/qml/CMakeLists.txt')
-rw-r--r-- | src/qml/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/CMakeLists.txt b/src/qml/CMakeLists.txt index b08319090b..1b00d685b6 100644 --- a/src/qml/CMakeLists.txt +++ b/src/qml/CMakeLists.txt @@ -420,6 +420,8 @@ qt_internal_add_qml_module(Qml ${extra_cmake_includes} GENERATE_CPP_EXPORTS GENERATE_PRIVATE_CPP_EXPORTS + POLICIES + QTP0001 ) qt_update_ignore_pch_source(Qml "compat/removed_api.cpp") |