Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Qt Creator] Tilde key doesn't work
Forum Updated to NodeBB v4.3 + New Features

[Qt Creator] Tilde key doesn't work

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 6.4k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    rox271
    wrote on last edited by
    #1

    Hi,

    Since Qt 5.0 the tilde key doesn't work anymore in the text editor (on Win 7 64bits).
    I have a french keyboard layout and I have to enter the sequence Alt Gr + 2 then SPACE key to display the tilde.
    Expected outcome: ~ character on its own
    Actual behavior: SPACE character on its own

    At the moment I go to notepad and copy paste the character when I need it.

    Is there a workaround or setting I missed?

    Help appreciated, this is quite ennoying...

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      To me, it sounds as if the windows keyboard layout that you have set for QtCreator is off. Windows keeps track of the keyboard layout per application, at least while running. Pressing CTRL+SHIFT switches the active layout. Could you try that?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rox271
        wrote on last edited by
        #3

        Hi André, I tried that but it didn't work. Also I have only one keyboard layout installed on windows so not sure what would be the expected outcome.

        This being said, I found a clue:

        • go in Tools / Options
        • Pick "Text editor" in the left list
        • Go to "Completion"
        • Change option Activate completion: from Always to Manually

        Now the tilde is visible!

        Is there a way to alter the behavior of this autocompletion tool?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Ok, sorry, then I don't know. Sorry to have led you down the wrong path.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rox271
            wrote on last edited by
            #5

            No worry, appreciate the attention.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Renox0
              wrote on last edited by
              #6

              Hi,

              It seems that I've got the same problem here (Qt Creator 3.1.1.) on OS X 10.9.4.
              I've a French keyboard and the ~ and ^ are working strangely. But I found something...

              When the problem occurred try to switch application (like open Safari for while) and tilde comes back in Qt Creator !
              Yes it will not resolve the issue, but it's better than copy/paste a ~ from notepad ;-)

              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