Wincker

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2012年1月7日

摘要: 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)