VirtualKeyboard missing on raspberry device

  • Hello, I've followed the tutorial

    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

  • Lifetime Qt Champion


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

  • 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

Log in to reply