QT4/5中文乱码问题解决
QT4 :
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
QT5:
#if defined(_MSC_VER) && (_MSC_VER >= 1600) #pragma execution_character_set("utf-8") #endif
详见:http://blog.163.com/qimo601@126/blog/static/1582209320143115334438/