QString::fromLocal8Bit()
char szPath[1024];
//获取本程序运行路径
_getcwd(szPath,1024);
//szPath = "C:/中文路径/testExe";
QString strPath;
//strPath = QString(szPath);
//这样strPath会有乱码
strPath = QString::fromLocal8Bit(szPath);
//OK!~