Qt:编译器超出堆空间 [英] Qt: Compiler is out of heap space

查看:1043
本文介绍了Qt:编译器超出堆空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误,当我添加更多的音乐我的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆