Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.14.2
-
None
Description
Having multiple qrc files that contain items with the same prefix in different directories seems to confuse Qt Creator when using CMake (works fine with qmake). Program builds and runs fine, but editor says M300 unknown component when using CMake.
Project:
/qml.qrc (Prefix: /)
- main.qml
- SameQrcItem.qml
/SameLevel.qrc (Prefix: /)
- SameLevelQrcItem.qml
/SubDir/SubDir.qrc (Prefix: /)
- SubDirItem.qml
Adding all ...Items in main.qml gives a M300 warning for SubDirItem when using CMake. See main.qml in attached project zip, CMakeLists.txt and .pro file included.