摘要:
1. Generate pro file for the projectqmake -project2. Add the following script into the pro fileTRANSLATIONS = ***.ts3. Generate ts filelupdate ***.pro4. Use QT Linguist to edit the ts file5. Generate qm file in QT Linguist6. Use the qm in code#include <QTranslator>QTranslator translator( 0 );t 阅读全文
posted @ 2012-01-07 09:03
Wincker
阅读(149)
评论(0)
推荐(0)

浙公网安备 33010602011771号