The resource system is intended only for packaging binary files with an executable file, you cannot distinguish it in order to make which resources are packed, but yes, you can make several .qrc packages and add them on the platform to your .pro
RESOURCES += common.qrc win32:RESOURCES += windows.qrc linux:RESOURCES += linux.qrc mac:RESOURCE += mac.qrc
Alternatively, you can have platform prefixes in your .qrc and refer to resources such as: / (set platform line) /resource/file.end. The first method is more accurate, since only resources in the .qrc files that you add to the assembly will be added to the application executable file.
source share