Results 1 to 4 of 4

Thread: About character of QMenu in Qt 4.7

  1. #1
    Join Date
    Dec 2010
    Posts
    33
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default About character of QMenu in Qt 4.7

    In Qt Designer, All componnet's QMenu show Chinese, But in Qt Creator, show english.
    Why? And how to set?

    无标题.jpg

  2. #2
    Join Date
    Dec 2010
    Posts
    33
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About character of QMenu in Qt 4.7

    Help! Failed all the time....

  3. #3
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: About character of QMenu in Qt 4.7

    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.

  4. The following user says thank you to nightghost for this useful post:

    Wong (16th March 2011)

  5. #4
    Join Date
    Dec 2010
    Posts
    33
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About character of QMenu in Qt 4.7

    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:
    1. ts.load(":/qt_zh_CN.qm");
    2. app.installTranslator(&ts);
    To copy to clipboard, switch view to plain text mode 
    Last edited by Wong; 16th March 2011 at 02:47.

Similar Threads

  1. Accented Character
    By Trader in forum Qt Programming
    Replies: 3
    Last Post: 24th February 2011, 22:25
  2. Get Character
    By bismitapadhy in forum Qt Programming
    Replies: 7
    Last Post: 15th July 2009, 11:37
  3. ° character
    By Windsoarer in forum Qt Programming
    Replies: 4
    Last Post: 16th June 2009, 08:51
  4. Character by Character (Unicode?) File Reading
    By mclark in forum Qt Programming
    Replies: 4
    Last Post: 22nd April 2009, 15:28
  5. How to read QStringList character by character
    By iamjayanth in forum Qt Programming
    Replies: 4
    Last Post: 3rd April 2009, 11:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.