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. QT virtual keyboard on embedded linux target
Forum Update on Tuesday, May 27th 2025

QT virtual keyboard on embedded linux target

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 739 Views 2 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.
  • A Offline
    A Offline
    arunshah
    wrote on 29 Jan 2018, 23:51 last edited by
    #1

    I ported the virtual keyboard example on an embedded linux target. But the keystrokes are not populated to the Text fields. On logging; I am getting the error "input method is not set" when I try to use qt virtual keyboard.

    Note : I had set
    qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));

    before launching the QGuiApplication.

    Any pointers on what could be the issue.

    1 Reply Last reply
    1
    • A Offline
      A Offline
      Aleksey_K
      wrote on 14 May 2020, 04:02 last edited by
      #2

      Same bug as well as many people for years!!!

      Google search

      Any solution yet?!

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Aleksey_K
        wrote on 14 May 2020, 08:50 last edited by
        #3

        Found the solution. Following workaround works for me:

        TextArea {
            onActiveFocusChanged: {
                if(activeFocus) {
                    Qt.inputMethod.update(Qt.ImQueryInput)
                }
            }
        }
        

        Works with other controls as well.

        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