Qt5显示中文字符

在cpp文件或.h文件中顶行输入:
#pragma execution_character_set("utf-8")
posted @ 2019-03-12 10:27  陈加爵  阅读(1909)  评论(0编辑  收藏  举报