How to use Arrow Key Navigation with QtVirtualKeyboard
-
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 -
-
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
-
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.
-
@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 -
You go the answer on this thread, correct ?
5/5