Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt: Compiler is out of heap space

Tags:

c++

qt

qml

I received this error when I added more music my resources.qrc. The mp3 files are not even that big, you have got to kidding me that this is all the MSVC compiler can handle.

Is there anyway around this? Is it impossible to increase the heap space for a compiler? I guess I can store the music and search for it locally, but then how do I deploy these resources to the phone?

like image 428
MrPickles Avatar asked Feb 10 '15 07:02

MrPickles


1 Answers

There's a workaround for this in Qt 5.4.0 : Use CONFIG += resources_big in your .pro file.

See also the 'rcc' section in the 5.4.0 changelog for qtbase.

like image 159
kkoehne Avatar answered Nov 19 '22 22:11

kkoehne