VirtualKeyboard missing on raspberry device
-
wrote on 1 Feb 2018, 20:35 last edited by
Hello, I've followed the tutorial
https://www.youtube.com/watch?v=QFWPw4UWL9E&feature=youtu.beNow 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
-
Hi,
Did you install that module when you installed Qt ?
How did you install Qt ? -
wrote on 1 Feb 2018, 21:21 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/3