Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5
-
e3a54afbf105a8637e029a45ac106bf1334a6e70
Description
When making changes to any CMakeLists.txt in Creator, I get warnings from other CMake project files:
/Users/mitch/dev/qt-dev-debug-non-fw/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:460: warning: Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for qualified_names_test_module. The resource root directory, ':/', is used as prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The recommended resource directory to be used as prefix is ':/qt/qml/'. Specify AUTO_RESOURCE_PREFIX to use it. tests/auto/qml/qqmljsscope/QualifiedNamesTests/CMakeLists.txt:8 (qt6_add_qml_module) /Users/mitch/dev/qt-dev-debug-non-fw/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:460: warning: Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for tst_qmltyperegistrar_major_version_zero. The resource root directory, ':/', is used as prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The recommended resource directory to be used as prefix is ':/qt/qml/'. Specify AUTO_RESOURCE_PREFIX to use it. /Users/mitch/dev/qt-dev-debug-non-fw/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:695 (qt6_add_qml_module) tests/auto/qml/qmltyperegistrar/VersionZero/CMakeLists.txt:5 (qt_add_qml_module)
Attachments
Issue Links
- relates to
-
QTCREATORBUG-27988 Qt Creator should add AUTO_RESOURCE_PREFIX to all qt_add_qml_module invocations
- Reported