QTranslator* myTranslator=new QTranslator;
myTranslator->load("xxx.qm");
app.installTranslator(myTranslator);
QTranslator* chTranslator=new QTranslator;
chTranslator->load("qt_zh_CN.qm");
app.installTranslator(chTranslator);
原文地址:http://www.cnblogs.com/lvdongjie/p/3706174.html