QT运行程序输出中文乱码

解决方案:

在cpp添加:

#pragma execution_character_set("utf-8")

原文地址:https://www.cnblogs.com/zxl971213/p/13638650.html