I'm trying to compile large resource files with qrc using CMake.
This is well known to chew up all of a computers RAM (>32GB) and cause the compiler to exit with heap allocation errors (see QTBUG-50468, QTBUG-55293, and QTBUG-54357)
Apparently if you use qmake, appending CONFIG += resources_big
to your .pro file automagically fixes everything. Is there an equivalent to this setting accessible through CMake?
AUTORCC
? – GarrottAUTORCC
. – Giaimo-pass 1
or-pass 2
to rcc in Qt's CMake files, so I would say it's not supported yet. Please file a suggestion in Qt's bugtracker. – Deas