Results 1 to 2 of 2

Thread: QLabel unable to show Hindi Text from *.qm file

  1. #1
    Join Date
    Dec 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QLabel unable to show Hindi Text from *.qm file

    Steps I have performed

    1) lupdate to extract the string from the *.ui file genrated by designer
    2) manually opening the *.ts file in gedit and adding the hindi translation
    example
    <message>
    <location filename="ActionScreen.ui" line="20"/>
    <source>Form</source>
    <translation>मार्गद र्शक</translation>
    </message>
    <message>
    <location filename="ActionScreen.ui" line="137"/>
    <source>CCTV Cameras</source>
    <translation>कैमरा</translation>
    </message>

    3) lrelease to genrate *.qm file and loading these file using translator

    On execution the application title got changed to hindi, but QLabel was unable to show hindi text. Kindly guide me where I am doing wrong

    I have attached a screenshot of my application along this information
    Attached Images Attached Images

  2. #2
    Join Date
    Dec 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QLabel unable to show Hindi Text from *.qm file

    Issue resolved by upgrading to the QT 4.7

Similar Threads

  1. How to show xy coordinate on QLabel widget
    By matteo.cozzaglio in forum Qwt
    Replies: 8
    Last Post: 11th February 2010, 09:26
  2. Show Image on a QLabel
    By ^NyAw^ in forum Newbie
    Replies: 11
    Last Post: 15th April 2008, 15:45
  3. Replies: 2
    Last Post: 14th June 2007, 14:31
  4. Replies: 1
    Last Post: 5th April 2006, 16:44

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.