做一个安装包,把整个目录下的东西压缩起来然后把这个压缩包作为资源文件
QT中添加CONFIG += resources_big 可以做到,但是用VS打开后
报错 Release\qrc_installpack.cpp(9728302): fatal error C1060: compiler is out of heap space
在.vcxproj文件中 添加
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
以及设置Stack Reserve size 500M;
CONFIG += resources_big 在VS中如何实现
重启电脑试试