path: root/src/plugins/platforminputcontexts/compose/
diff options
authorGatis Paeglis <>2013-03-25 14:44:48 +0100
committerThe Qt Project <>2013-05-07 22:43:14 +0200
commit05351b0cde3e80d2d0ae3a838e802ff6086e4b59 (patch)
treedbcbb18247aafe9485e7ccbbbc903c858bb1c75d /src/plugins/platforminputcontexts/compose/
parent9c1d62cc95ed2579fa25d83901c7a1aa315aa2d3 (diff)
Utilize libxkbcommon API for the keyboard backend on X11
libxkbcommon is a keymap compiler [1] which utilizes xkb keyboard configuration database [2]. xkbcommon simplifies keyboard state handling by providing xkb_state object which holds the current state of all modifiers, groups, LEDs, etc, relating to the provided keymap. Detecting modifier mapping should become simpler once it gets supported in libxkbcommon. Also with xinput2 we could get rid of the XkbStateNotify events, because xinput2 key press/release already include all the mod/group info. [1] [2] This patch: - Removes a dependency to -lxcb-keysyms - Removes a dependency to XLib call - XLookupString - Enables required functionality to fix QTBUG-27681 Task-number: QTBUG-27680 Change-Id: I10e10f873821ee02f6df72238e215a541150f38f Reviewed-by: Samuel Rødal <>
Diffstat (limited to 'src/plugins/platforminputcontexts/compose/')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforminputcontexts/compose/ b/src/plugins/platforminputcontexts/compose/
index 8c73d29971..1bfd46ebca 100644
--- a/src/plugins/platforminputcontexts/compose/
+++ b/src/plugins/platforminputcontexts/compose/
@@ -23,7 +23,6 @@ contains(QT_CONFIG, xkbcommon-qt): {
} else {
- LIBS += -lxkbcommon
OTHER_FILES += $$PWD/compose.json