Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0
-
None
-
895edcd7cdcf47ec9238d42db742f81c5c2eaeb9 (qt/qtbase/dev) 142777a608d1169ad06c8c448655557db317afd7 (qt/qtbase/6.1)
Description
When having a big project with several examples, its not uncommon to have several .qrc with the same name for different examples like `example1/qml.qrc` and `example2/qrml.qrc`.
In this sceneario, qt_add_big_resources fails because it uses the base name of the .qrc file to create a cmake target. CMake then complains that two targets have the same name.
Consider using the full path of the .qrc file for creating the target name to avoid conflicts. This happens in both Qt6 and Qt5 branches.
Attachments
Issue Links
- relates to
-
QTBUG-93172 Duplicate symbol qInitResources_qmake_immediate when building qtquickcontrols2 gallery example against static macOS Qt
- Closed