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. QtVirtualKeyboard cannot capitalize letters
Forum Update on Monday, May 27th 2025

QtVirtualKeyboard cannot capitalize letters

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 312 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.
  • R Offline
    R Offline
    rgilio
    wrote on last edited by rgilio
    #1

    I'm running Qt version 5.8 and am using QtVirtualKeyboard. On application start up I'm defining the QLocale default to be the desired language, i.e. Finnish. I have a LineEdit that I'm trying to type into and when the virtualkeyboard pops up, the keyboard is in the desired language, but I'm unable to press shift to capitalize any characters. However, when I click the change language button, I'm able to start capitalizing letters again.

    It's strange though, because if I use English/Korean as a default language, it loads with the shift keys working just fine. I'm not quire sure what's going on, and I've compared the main.qml files for the layouts to see if there was anything different about the shift keys, they are identical.

    There's probably something small that I'm not seeing here. Anyone have an idea?

    Update:

    So I changed the InputMethodHints field for my text box from 'none' to 'noAutoUppercase' and that re-enabled the shift key for all languages. I'm not quite sure why having a setting of 'none' is causing the shift key to be disabled as it doesn't seem to me like intended behavior.

    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