打开工程,右键qrc文件属性,在配置属性中的Qt Resource Compiler 中的Dynamic C++ Source ,选择为disable ,然后手动将已经生成的qrc_*.cpp加到工程里面