qt5解决中文编译错误问题

在编译失败的 文件头加上以下代码编码

#ifdef _MSC_VER
#pragma execution_character_set("utf-8")
#endif

修改文件编码格式为utf-8编码code

相关文章
相关标签/搜索