From 5444ea50bb2b1b894d5b3c33676f9ef207fdcd1a Mon Sep 17 00:00:00 2001 From: Jan Arne Petersen Date: Wed, 30 Dec 2015 00:08:17 +0100 Subject: Fix text-input support for new API Update text input support to upstream text-input protocol v2 from wayland-protocols. Remove support for input-method protocol for now. Map text-input protocol on compositor side to the Qt input method API, this allows to use any qt platform input method on compositor side (especially qtvirtualkeyboard). Add support for qtvirtualkeyboard to pure-qml example. Implement all missing functions of the text-input protocol. Change-Id: I597451ff65454a63dff86026b6a8d1ffbe07ce02 Done-with: Zeno Endemann Reviewed-by: Giulio Camuffo --- examples/wayland/pure-qml/qml/Screen.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/wayland/pure-qml/qml/Screen.qml') diff --git a/examples/wayland/pure-qml/qml/Screen.qml b/examples/wayland/pure-qml/qml/Screen.qml index c5df10e5f..0d6c93adc 100644 --- a/examples/wayland/pure-qml/qml/Screen.qml +++ b/examples/wayland/pure-qml/qml/Screen.qml @@ -66,6 +66,10 @@ WaylandOutput { source: "qrc:/images/background.jpg" smooth: true } + Loader { + anchors.fill: parent + source: "Keyboard.qml" + } WaylandCursorItem { id: cursor inputEventsEnabled: false -- cgit v1.2.3