Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Input some key will cause the Qt application program crash
QtWS25 Last Chance

Input some key will cause the Qt application program crash

Scheduled Pinned Locked Moved General and Desktop
10 Posts 4 Posters 3.8k 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.
  • L Offline
    L Offline
    lvshuchengyin
    wrote on last edited by
    #1

    I am Chinese.

    I downloaded the Qt5.2 a few days ago.
    I use the QLineEdit in the program. When I switch to the Chinese input methods, and input "?" (Question mark).
    The program crash!
    What's more I use the Qt Creator, it would crash too.

    Does it a bug? Or how could I correct it?

    Thanks in advance!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jiangcaiyang
      wrote on last edited by
      #2

      可能系统对中文输入不支持导致的的。如果是Linux的话,在Qt Creator中搜“Qt for X11 Requirements”,看看这些开发包是否安装了没有。如果没有,则一一安装之。Windows的情况还是建议重新单独下载一个Qt Creator吧。

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        [quote author="lvshuchengyin" date="1387544873"]
        I use the QLineEdit in the program. When I switch to the Chinese input methods, and input "?" (Question mark).
        The program crash!
        What's more I use the Qt Creator, it would crash too.
        Also where exactly does it crash (stack trace)?

        Does it a bug? Or how could I correct it?
        [/quote]
        Hard to tell without a single line of code if it's Qt's or your fault.

        @jiangcaiyang
        please write your answers in english since this is the international area of the forum and it may also help others.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lvshuchengyin
          wrote on last edited by
          #4

          Hi, I created a new simple project. And only add a QLineEdit in it. When I switch to the Chinese input methods, and input “?” (Question mark). It crashed too.

          [quote author="raven-worx" date="1387549432"][quote author="lvshuchengyin" date="1387544873"]
          I use the QLineEdit in the program. When I switch to the Chinese input methods, and input "?" (Question mark).
          The program crash!
          What's more I use the Qt Creator, it would crash too.
          Also where exactly does it crash (stack trace)?

          Does it a bug? Or how could I correct it?
          [/quote]
          Hard to tell without a single line of code if it's Qt's or your fault.

          @jiangcaiyang
          please write your answers in english since this is the international area of the forum and it may also help others. [/quote]

          1 Reply Last reply
          0
          • raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            [quote author="lvshuchengyin" date="1387553564"]Hi, I created a new simple project. And only add a QLineEdit in it. When I switch to the Chinese input methods, and input “?” (Question mark). It crashed too.
            [/quote]

            Well... this is exactly the same information from your initial post...

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lvshuchengyin
              wrote on last edited by
              #6

              我用qt4.8.5是没问题的,就5.2有问题

              [quote author="jiangcaiyang" date="1387548552"]可能系统对中文输入不支持导致的的。如果是Linux的话,在Qt Creator中搜“Qt for X11 Requirements”,看看这些开发包是否安装了没有。如果没有,则一一安装之。Windows的情况还是建议重新单独下载一个Qt Creator吧。[/quote]

              1 Reply Last reply
              0
              • K Offline
                K Offline
                koahnig
                wrote on last edited by
                #7

                [quote author="lvshuchengyin" date="1387553762"]我用qt4.8.5是没问题的,就5.2有问题

                [quote author="jiangcaiyang" date="1387548552"]可能系统对中文输入不支持导致的的。如果是Linux的话,在Qt Creator中搜“Qt for X11 Requirements”,看看这些开发包是否安装了没有。如果没有,则一一安装之。Windows的情况还是建议重新单独下载一个Qt Creator吧。[/quote]
                [/quote]
                Please stay with English in not language specific forums.
                BTW There is also a "Chinese forum.":http://qt-project.org/forums/viewforum/39/

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lvshuchengyin
                  wrote on last edited by
                  #8

                  Sorry , I said I use Qt4.8.5 is fine. But Qt5.2 has that question.

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jiangcaiyang
                    wrote on last edited by
                    #9

                    Qt and its accompanying Qt Creator has the same problem doing with eastern Asian characters on Unix like systems. Unlike Mac OS X, free Linux distributions have limited guarantee to those functionalities above. If possible, you can also turn to their communities for help. I know that Ubuntu has a Chinese forum. Here is the link: "Click me":http://forum.ubuntu.org.cn/

                    In addition, I strongly suggest installing all the packages mentioned above( see "Qt for X11 Requirements" pages for those packages ) before installing Qt. As a newly released version, Qt 5.2 has not been stablized, so if you really want to use Qt for pratical use, you can turn to Qt5.1.1 or other Qt lower version.

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lvshuchengyin
                      wrote on last edited by
                      #10

                      [quote author="jiangcaiyang" date="1387591469"]Qt and its accompanying Qt Creator has the same problem doing with eastern Asian characters on Unix like systems. Unlike Mac OS X, free Linux distributions have limited guarantee to those functionalities above. If possible, you can also turn to their communities for help. I know that Ubuntu has a Chinese forum. Here is the link: "Click me":http://forum.ubuntu.org.cn/

                      In addition, I strongly suggest installing all the packages mentioned above( see "Qt for X11 Requirements" pages for those packages ) before installing Qt. As a newly released version, Qt 5.2 has not been stablized, so if you really want to use Qt for pratical use, you can turn to Qt5.1.1 or other Qt lower version.[/quote]

                      Thanks for your advise! But I use Qt in Windows OS.
                      And I will try to use Qt5.1.

                      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