Results 1 to 13 of 13

Thread: problem with Hebrew font in a control

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Feb 2010
    Posts
    16
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: problem with Hebrew font in a control

    Lykurg, thank you, i did it...

    thanks the code:
    Qt Code:
    1. QByteArray encode = "שלום";
    2. QTextCodec* code = QTextCodec::codecForName("Windows-1255");
    3. QString string = code->toUnicode(encode);
    4. ui->textEdit->append(string);
    To copy to clipboard, switch view to plain text mode 
    but it is the right way to do this???

    Edit:
    something goes wrong...
    when i done this on my native system its work perfectly...
    but when i tried this code my virtual machine i got ???? again....

    Edit II:
    I have to mention that my goal is to build application for the S60 platform
    and in the VM i have the S60 SDK installed... if its change something...
    Last edited by HeX0R; 10th February 2010 at 12:33.

Similar Threads

  1. Replies: 0
    Last Post: 16th December 2009, 09:45
  2. activeWindow control problem
    By batileon in forum Newbie
    Replies: 3
    Last Post: 17th October 2008, 07:44
  3. RightToLeft QTextEdit for Hebrew
    By hed in forum Qt Programming
    Replies: 6
    Last Post: 16th April 2008, 20:33
  4. Replies: 1
    Last Post: 25th December 2007, 10:35
  5. problem with spinbox control ?
    By vinod in forum Qt Programming
    Replies: 3
    Last Post: 19th April 2006, 19:58

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
  •  
Qt is a trademark of The Qt Company.