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. Cannot write curly braces

Cannot write curly braces

Scheduled Pinned Locked Moved Solved General and Desktop
curly braces
6 Posts 4 Posters 2.3k 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.
  • ZoltanZ Offline
    ZoltanZ Offline
    Zoltan
    wrote on last edited by
    #1

    Unfortunately, I cannot write the opening curly brace { on a Hungarian keyboard layout. It works when I change to the English layout, but it is very inconvenient to swap between the layouts all the time. What can I do? Where can I set it to recognise the Hungarian keyboard?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rondog
      wrote on last edited by Rondog
      #2

      There is a way to enter characters if you don't have the key on the keyboard. On Windows you would press 'Alt' then the numerical value of the letter. Pressing the keys 'ALT,6,5' would be the same as typing capital 'A'.

      It has been a while since I did this so my information might be a bit off (and I am not infront of a Windows computer) so you might want to google it. I knew someone who used to use this all the time with passwords (they always included a few characters that you couldn't directly type on a keyboard like 'Alt,2,5,5' or 'Alt,0').

      1 Reply Last reply
      0
      • ZoltanZ Offline
        ZoltanZ Offline
        Zoltan
        wrote on last edited by
        #3

        Alt+123 as { works in a Notepad, but in Qt it opens the tabs at the bottom, i.e. "Issues", "Search Results", "Application Output".

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If I got it correctly in Hungarian layout { is right alt + b and } is right alt + n. I switched keyboard layout to Hungarian and the latter seems to work ok. alt+b is by default a shortcut for build, so you migh want to change that in the keyboard settings (Tools - > Options -> Environment -> Keyboard).

          1 Reply Last reply
          4
          • ZoltanZ Offline
            ZoltanZ Offline
            Zoltan
            wrote on last edited by Zoltan
            #5

            Indeed, the right alt+B caused the conflict. Thank you, now it works. How can I accept this answer?

            1 Reply Last reply
            0
            • defineRazD Offline
              defineRazD Offline
              defineRaz
              wrote on last edited by
              #6

              Just pour clean water into the glass, solution:
              Edit -> Preferences -> Enviroment -> Keyboard -> search for Build keyword and reset all CTRL+ALT+ B key combinations, I know it's an old post but in our home is always a problem(Hungarian keyboard).

              1 Reply Last reply
              1
              • aha_1980A aha_1980 marked this topic as a question on
              • aha_1980A aha_1980 has marked this topic as solved on

              • Login

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