Qt: Compiler is out of heap space

2019-06-16 02:42发布

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?

标签: c++ qt qml
1条回答
家丑人穷心不美
2楼-- · 2019-06-16 03:24

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.

查看更多
登录 后发表回答