Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 4.7.0
-
None
Description
This configuration warning occurs when a project exported to Creator is configured
[cmake] CMake Warning (dev) at C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3353 (message):
[cmake] Qt policy QTP0001 is not set: ':/qt/qml/' is the default resource prefix
_[cmake] for QML modules. Check https://doc.qt.io/qt-6/qt-cmake-policy-qtp0001.html_
[cmake] for policy details. Use the qt_policy command to set the policy and
[cmake] suppress this warning.
[cmake]
[cmake] Call Stack (most recent call first):
[cmake] C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:708 (qt_internal_setup_policy)
[cmake] Dependencies/Components/src/imports/utils/CMakeLists.txt:6 (qt6_add_qml_module)
[cmake] This warning is for project developers. Use -Wno-dev to suppress it.
QTP0001 could be set in the generated CMake to avoid this since it is confusing to users and creates unnecessary noise in the log
Attachments
Issue Links
- mentioned in
-
Page Loading...