SUMMARY Compiling breeze icons on different operating systems as binary resource procudes files that differ significantly in size. STEPS TO REPRODUCE 1. Download http://download.kde.org/stable/frameworks/5.58/breeze-icons-5.58.0.tar.xz 2. Compile with BINARY_ICONS_RESOURCE=ON 3. Do above on MacOS and MS Windows 4. Compare size of resultant breeze-icons.rcc file OBSERVED RESULT breeze-icons.rcc is 7.6 MB on MS Windows breeze-icons.rcc is 19.3 MB on MacOS EXPECTED RESULT Size of breeze-icons.rcc should be equal on all operating systems SOFTWARE/OS VERSIONS Windows: 7, msys macOS: 10.13, clang ADDITIONAL INFORMATION I think rcc file on MacOS contains duplicated data, eg. In <BUILD_DIR>/icons/res/actions there are two directories named: "16" and "16@2x" whereas on MS Windows there is only one directory named: "16" On MacOS "16" and "16@2x" have equal size, so they contain the same data.
This is fixed with https://code.qt.io/cgit/qt/qtbase.git/commit/src/tools/rcc?id=607b3b2feb1328fdf8cf01768276d615c110e304