Qt出现常量有换行符的错误的解决方法

可以使用 QString::fromLocal8Bit 来将本地字符编码转换为 Unicode 形式的 QString。

原文地址:https://www.cnblogs.com/a14907/p/6192642.html