diff options
author | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-02-07 15:16:53 +0100 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-02-21 12:14:00 +0100 |
commit | aed498e2fb2fda89fb8b587fce310693175de86c (patch) | |
tree | e19fe96b0813d0e04972c65ab7cb6b01d018a919 /src/qml/doc/snippets | |
parent | 851d84a63cef74b5c803f9bd2611051567c6dd01 (diff) |
Remove AUTO_RESOURCE_PREFIX, and refer to QTP0001 when possible
Pick-to: 6.5
Task-number: QTBUG-96233
Change-Id: I4126760dddc9ec1b5c8850fb30a80730e19cb307
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc/snippets')
-rw-r--r-- | src/qml/doc/snippets/qmltc/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/doc/snippets/qmltc/CMakeLists.txt b/src/qml/doc/snippets/qmltc/CMakeLists.txt index 4be5a96528..2c5e91c6cf 100644 --- a/src/qml/doc/snippets/qmltc/CMakeLists.txt +++ b/src/qml/doc/snippets/qmltc/CMakeLists.txt @@ -42,11 +42,12 @@ target_compile_definitions(${application_name} PRIVATE QMLTC_TESTS_BINARY_DIR="${CMAKE_CURRENT_BINARY_DIR}" ) +qt_policy(SET QTP0001 NEW) + #! [qmltc-add-qml-module] # Make the application into a proper QML module: qt6_add_qml_module(${application_name} URI QmltcExample - AUTO_RESOURCE_PREFIX QML_FILES ${application_qml_files} # Compile qml files (listed in QML_FILES) to C++ using qmltc and add these |