Qt:编译器超出堆空间 [英] Qt: Compiler is out of heap space
问题描述
我收到此错误,当我添加更多的音乐我的resources.qrc。 mp3文件不是那么大,你必须开玩笑,这是所有的MSVC编译器可以处理。
有没有反正呢?是不可能增加编译器的堆空间?我想我可以存储音乐并在本地搜索,但是如何将这些资源部署到手机上?
在Qt 5.4.0中有一个解决方法:在 .pro
文件中使用 CONFIG + = resources_big
p>
另请参阅 5.4.0 changelog for qtbase 。
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?
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.
这篇关于Qt:编译器超出堆空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!