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.