1、使用QStringLiteral把所有中文包起来 2、#pragma execution_character_set("utf-8") 转载于:https://www.cnblogs.com/judes/p/9077655.html