Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1, 5.7.0, 5.8.0
-
Windows 7 Windows 10 Ubuntu 14.04
-
cdccd0222bbed1954d5d7fe0da9d2308c202f3b1
Description
There is a relatively well known issue with compiling "large" qrc resources (i.e. 10-100MB, not really that large circa 2016). It's been reported before in QTBUG-50468, QTBUG-55293, and QTBUG-54357, and the canonical solution is to add `CONFIG += big_resources` to the .pro file, which (from what I understand) enables a two-pass rcc which uses significantly less memory and is less likely to fail heap allocation.
However, this doesn't help the awesome part of the Qt user base who use CMake as their primary build system. There is no .pro file to add the "CONFIG" option to, nor (as far as I can tell), a way to use CMake to pass those options to anything which could make use of them. Additionally, there doesn't seem to be any mention of a two pass rcc in the CMake scripts anywhere, or any other way to enable it.
Can you please allow whatever functionality "CONFIG += big_resources" enables to be accessible through the CMake build system as well?
See also: http://stackoverflow.com/questions/39236670/cmake-equivalent-of-qmakes-config-resources-big
Attachments
Issue Links
- resulted in
-
QTBUG-75806 tests/auto/cmake/test_add_big_resource failed with cmake 3.6
- Closed