Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
There are way too much duplicated code, e.g. ::keysymToQtKey():
QWaylandXkb::keysymToQtKey in qtwayland/src/shared/qwaylandxkb.cpp QLibInputKeyboard::keysymToQtKey in qtbase/src/platformsupport/input/libinput/qlibinputkeyboard.cpp And the originating source code QXcbKeyboard::keysymToQtKey in qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp
And other code that uses libxkbcommon (e.g. for shortcut handling, compose key input) could benefit from sharing. All this should be cleaned up and shared.
Attachments
Issue Links
- relates to
-
QTBUG-62102 QKeySequenceEdit handles meta keys incorrectly on Wayland
- Closed
-
QTBUG-62786 Missing QPlatformIntegration::queryKeyboardModifiers() implementation in Wayland QPA
- Closed
-
QTBUG-66497 Ctrl+Letter shortcuts don't work on Wayland with non-US keyboard layout
- Closed
-
QTBUG-71423 Unify cursor name lookup handling on linux
- Reported
-
QTBUG-60005 When configuring with -qt-xkbcommon and -xkb-config-root, it will still try pkgconfig to detect xkbcommon
- Closed
-
QTBUG-60224 Installed qtbase not compiled with xkbcommon-evdev support
- Closed
-
QTBUG-71614 some of 2+ bytes unicode characters are broken
- Closed
-
QTBUG-42181 Use libxkbcommon compose key API in QComposeInputContext plugin.
- Closed