In Qt Designer, All componnet's QMenu show Chinese, But in Qt Creator, show english.
Why? And how to set?
无标题.jpg
In Qt Designer, All componnet's QMenu show Chinese, But in Qt Creator, show english.
Why? And how to set?
无标题.jpg
Help! Failed all the time....![]()
http://www.qt.gitorious.org/qt-creat...AskedQuestions (3. answer may help) But according to http://developer.qt.nokia.com/forums/viewthread/198 the only official supported languages are english, german, polish (but the post is quite old)
Last edited by nightghost; 15th March 2011 at 16:31.
Wong (16th March 2011)
3Q, I will try again...
Added after 57 minutes:
It's Ok! It need a qt_zh_CN.qm
In main function, add codes
Qt Code:
QTranslator ts; ts.load(":/qt_zh_CN.qm"); app.installTranslator(&ts);To copy to clipboard, switch view to plain text mode
Last edited by Wong; 16th March 2011 at 02:47.
Bookmarks