Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
QDS 4.1
-
None
-
-
QDS Berlin - 2023 Week 23/24, QDS Berlin - 2023 Week 25/26
Description
Hi,
When using the template generated by QDS in Qt Creator with Qt 6.5: I have the following message when running CMake:
C:\Qt\6.5.0\mingw_64\lib\cmake\Qt6Core\Qt6CoreMacros.cmake:2690: warning: 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. C:/Qt/6.5.0/mingw_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:445 (qt_internal_setup_policy) imports/UntitledProject/CMakeLists.txt:10 (qt6_add_qml_module)
If I add qt_standard_project_setup(REQUIRES 6.5) to remove the message, the application does not work anymore:
QQmlApplicationEngine failed to load component
qrc:Main/main.qml: No such file or directory