Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved VirtualKeyboard missing on raspberry device

    Mobile and Embedded
    2
    3
    700
    Loading More Posts
    • 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
      mickelson last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • M
          mickelson last edited by

          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 Reply Quote 0
          • First post
            Last post