Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. VirtualKeyboard missing on raspberry device
Forum Updated to NodeBB v4.3 + New Features

VirtualKeyboard missing on raspberry device

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 931 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.
  • M Offline
    M Offline
    mickelson
    wrote on last edited by
    #1

    Hello, I've followed the tutorial
    https://www.youtube.com/watch?v=QFWPw4UWL9E&feature=youtu.be

    Now I have made my own qml ( very simple ) and it has a TextField, on my Linux and Windows desktop it opens a virtual keyboard when I click it, but on my raspberry pie, nothing.

    I'm using Qt 5.10 and when I tried to add "import QtQuick.VirtualKeyboard 2.2" in the QML I get a warning that the module is not installed. In my main.cpp I have the line "qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));"

    What am I missing, this is my first Qt deployment on raspberry, so any help is welcome.

    / Tim

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

      Hi,

      Did you install that module when you installed Qt ?
      How did you install Qt ?

      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
      • M Offline
        M Offline
        mickelson
        wrote on last edited by
        #3

        Hi, yes I did, now I resolved it, I needed to add an InputPanel in my QML file. This must be done in code ( I can't find a widget to drag'n'drop ). I should point out though that I keep having a warning

        "module QtQuick.VirtualKeyboard is not installed" on the top item ( a Rectangle ) and "Item could not be created" on the InputPanel.

        But it is working, so for now I will ignore the warnings eve though is not elegant.

        / Tim

        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