Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
QtTAS 1.0, QtTAS 2.0
-
None
Description
The standard CMakeLists.txt template that the plugin uses shows the user a warning message about QTP0001 when building it. Not an ideal user experience.
CMake Warning (dev) at /Users/ollivuolteenaho/Qt/6.8.0/android_arm64_v8a/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3339 (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): /Users/ollivuolteenaho/Qt/6.8.0/android_arm64_v8a/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:627 (__qt_internal_setup_policy) /Users/ollivuolteenaho/Qt/6.8.0/android_arm64_v8a/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1028 (qt6_add_qml_module) CMakeLists.txt:18 (qt_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it.
Attachments
Issue Links
- duplicates
-
QTTA-95 Created new Qt project shows Qt policy warning
- Closed