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.
|For Gerrit Dashboard: QTBUG-93230|
|350378,3||Support multiple equally named .qrc files in qt_add_big_resources||dev||qt/qtbase||Status: MERGED||-1||0|
|350541,2||Support multiple equally named .qrc files in qt_add_big_resources||6.1||qt/qtbase||Status: MERGED||+2||0|