In Qt, there is no difference between building an application for the desktop, mobile, or an embedded device. You can create your project, as usual, but the only difference will be the building process. Let's create a Qt Quick project by going to File | New Files or Project and selecting Qt Quick Application – Empty. Make sure that you tick the Use Virtual Keyboard option when creating your Qt Quick project.
Open up main.qml when you're done. By default, the code contains an InputPanel item, which is the virtual keyboard:
InputPanel {
id: inputPanel
z: 99
x: 0
y: window.height
width: window.width
states: State {
name: "visible"
when: inputPanel.active
PropertyChanges {
target: inputPanel
y: window.height - inputPanel.height
}
}
transitions: Transition...