Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 10.0.0
Description
When building a Qt Creator Application wizard generated quick application (based on cmake) there is a warning:
CMake Warning (dev) at /home/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2690 (message): Qt policy QTP0001 is not set: ':/qt/qml/' is the default resource prefix for QML modules. Check https://doc.qt.io/qt-6/qt-cmake-policy-qtp0001.html for policy details. Use the qt_policy command to set the policy and suppress this warning.Call Stack (most recent call first): /home/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:445 (__qt_internal_setup_policy) /home/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:684 (qt6_add_qml_module) CMakeLists.txt:15 (qt_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it.