Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] QTextEdit bug on Symbian S60v5?

[Solved] QTextEdit bug on Symbian S60v5?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 3.1k Views
  • 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 Offline
    H Offline
    hisong1988
    wrote on last edited by
    #1

    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
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

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

      --
      Vasiliy

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hisong1988
        wrote on last edited by
        #3

        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
        0
        • H Offline
          H Offline
          hisong1988
          wrote on last edited by
          #4

          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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved