在vs2015中使用qt5出现中文乱码的问题

在头文件中加入以下语句即可解决。

#pragma execution_character_set("utf-8")

你可能感兴趣的:(qt)