Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use Arrow Key Navigation with QtVirtualKeyboard
Forum Updated to NodeBB v4.3 + New Features

How to use Arrow Key Navigation with QtVirtualKeyboard

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 489 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.
  • U Offline
    U Offline
    UnknownCollegeCoder
    wrote on last edited by
    #1

    Hello all,

    I am very new to using Qt creator and right now I am developing a UI for an embedded system that is going to use push buttons to navigate the UI. I am trying to setup a virtual keyboard in which I can use the arrow keys to navigate the keyboard and then hit enter to enter the character that is highlighted. When looking through the documentation I noticed that this is available through the [-no]-vkb-arrow-keynavigation configuration. However, this is disabled by default and I have not been able to figure out how to enable it. I have tried adding this to my project configurations and I have also tried following some past solutions on older versions but those have not been successful.

    I have made sure that my keyboard gains focus when it is selected so I am unsure on what I should do next as this has been a large struggle.

    Please help,
    Thank You

    1 Reply Last reply
    0
    • U UnknownCollegeCoder referenced this topic on
    • U Offline
      U Offline
      UnknownCollegeCoder
      wrote on last edited by
      #2

      Regarding the comment above. Attached is the documentation of VirtualKeyboard and where it says that the arrow key navigation can be enabled. But I don't understand how to enable it.

      https://doc.qt.io/qt-6/qtvirtualkeyboard-build.html#configuration-options

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Based on the documentation, it's an option you pass to the configure script when you build the module itself. It's not when you use it.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • U Offline
          U Offline
          UnknownCollegeCoder
          wrote on last edited by UnknownCollegeCoder
          #4

          @SGaist I am fairly new to Qt and Cmake so I don't really understand how I would do this. Could you explain what configure script I pass this too and what I would put in this configure script?
          Thank You

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by SGaist
            #5

            You go the answer on this thread, correct ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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