Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    [Solved] QTextEdit bug on Symbian S60v5?

    Mobile and Embedded
    2
    4
    2882
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hisong1988 last edited by

      When I put many widgets(Buttons and TextEdit) in QMainWindow, and it seems that it run well on Symbian emulator by carbide and Symbian device 5230,but when I try to input some characters on TextEdit, I found that I could only input the English characters.I could not input the Chinese and numbers.
      I try it on the Symbian device E66, I could input all the characters!!

      This is the PrintScreen I got on Symbian device 5230:

      !http://img7.wal8.com/img7/hisong1988/s/1289288946_1586510748.jpg()!

      Qt version is 4.7.0

      I am still searching for....

      1 Reply Last reply Reply Quote 0
      • V
        vsorokin last edited by

        What encoding did you use?
        Try use QTextCodec for convertation your text to utf8 encoding.

        --
        Vasiliy

        1 Reply Last reply Reply Quote 0
        • H
          hisong1988 last edited by

          Hello,vass.

          I add the
          QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312"));
          to my project.

          and the app didn't work.

          have you try to add the QTextEdit to QMainWindow,and the QTextEdit could accept chinese input?

          PS: I have developed it on Symbian device, and I know it work well on the desktop environment.

          I am still searching for....

          1 Reply Last reply Reply Quote 0
          • H
            hisong1988 last edited by

            I had solved it yesterday.

            I think may the Runtime lib for my Phone Version's problem. So I installed the Qt_demo(it includes the runtime lib) on my phone(5230). And the problem was solved.

            Thanks all who had viewed this thread.

            I am still searching for....

            1 Reply Last reply Reply Quote 0
            • First post
              Last post