[DEPRECATED] - Use cutekeyboard instead
QtFreeVirtualKeyboard is a Qt virtual keyboard plugin for embedded applications.
Download the repository, build and install the plugin.
git clone https://github.com/amarula/QtFreeVirtualKeyboard.git
mkdir build && cd build
qmake ../VirtualKeyboard
make -j4
make install
In the main.cpp
add the freevirtualkeyboard
plugin.
qputenv("QT_IM_MODULE", QByteArray("freevirtualkeyboard"));
In the main.qml
insert the keyboard component
import QtQuick.FreeVirtualKeyboard 1.0
...
InputPanel {
id: inputPanel
z: 99
y: window.height
anchors.left: parent.left
anchors.right: parent.right
states: State {
name: "visible"
when: Qt.inputMethod.visible
PropertyChanges {
target: inputPanel
y: window.height - inputPanel.height
}
}
transitions: Transition {
from: ""
to: "visible"
reversible: true
ParallelAnimation {
NumberAnimation {
properties: "y"
duration: 150
easing.type: Easing.InOutQuad
}
}
}
}
- Uwe Kindler - Initial work - githubuser0xFFFF
- Andrea Ricchi - Maintainer - AndreaRicchi