Qt: Compiler is out of heap space

自作多情 提交于 2019-12-23 07:26:15

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/28426240/qt-compiler-is-out-of-heap-space

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!