Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83783

Dead keys don't work when linking against a static Qt build

    XMLWordPrintable

Details

    • Linux/X11

    Description

      When I link against a static Qt build, typing characters using dead keys doesn't work. I'll attach an example with a minimalistic program only displaying a QLineEdit and my used (minimalistic) configure statement for Qt to demonstrate the behavior.

      If I link the program against my system-wide Qt installation or a custom build using the mentionned configure statement, but with "-static" replaced with "-shared", the program works as expected. Using a German locale here, e. g. typing "^" and "e" results in a "ê".

      When the same program is linked against the static build (compiled in the same environment), dead keys don't work: Accent keys seem to be ignored. Typing "^" does nothing (as expected, as it's a dead key), but typing an "e" afterwards only results in an "e" being displayed, not a "ê".

      Attachments

        1. configure.txt
          0.9 kB
        2. demo.cpp
          0.5 kB
        3. demo.pro
          0.1 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              liaqi Liang Qi
              l3u Tobias Leupold
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes