Skip to content

Commit 2bbfe60

Browse files
committed
Fix panic when receiving keyboard events
Make sure that not only libxkbcommon is a library dependency, but that the xkb files are also installed in the target image.
1 parent 08d00b2 commit 2bbfe60

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

recipes-example/slint-demos/slint-demos_git.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ DEPENDS:append:class-target = " \
2424
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \
2525
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
2626
"
27+
RDEPENDS:${PN} += "xkeyboard-config"
2728

2829
CARGO_DISABLE_BITBAKE_VENDORING = "1"
2930

recipes-slint/slint/slint-cpp-v2.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ inherit slint_common
1919
REQUIRED_DISTRO_FEATURES:append:class-target = "opengl"
2020

2121
DEPENDS:append:class-target = " fontconfig libxkbcommon virtual/libgl"
22+
RDEPENDS:${PN} += "xkeyboard-config"
2223

2324
SLINT_REV ?= "master"
2425
SRC_URI = "git://github.com/slint-ui/slint.git;protocol=https;branch=master;rev=${SLINT_REV}"

0 commit comments

Comments
 (0)