From 19e91d680344718c9d9662b4581b6fdec8fc309c Mon Sep 17 00:00:00 2001 From: vasilito Date: Mon, 3 Aug 2026 21:26:11 +0300 Subject: [PATCH] fix: depend on libxkbcommon in qtbase and kwin qtbase configured with QT_FEATURE_xkbcommon=OFF because libxkbcommon was never staged into its sysroot -- the recipe existed but nothing depended on it. With the feature off, qtbase does not install QtGui/private/qxkbcommon_p.h (src/gui/CMakeLists.txt:1095 is conditional on it), so kwin's inputmethod.cpp failed with inputmethod.cpp:51: fatal error: private/qxkbcommon_p.h: No such file kwin also includes directly while declaring no such dependency, relying on it arriving transitively; that is now explicit. Another latent gap rather than GCC 16 fallout -- it only surfaced once kwin compiled far enough to reach this include. Co-Authored-By: Claude Opus 5 (1M context) --- local/recipes/kde/kwin/recipe.toml | 1 + local/recipes/qt/qtbase/recipe.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/local/recipes/kde/kwin/recipe.toml b/local/recipes/kde/kwin/recipe.toml index 688e430e56..96c86405e4 100644 --- a/local/recipes/kde/kwin/recipe.toml +++ b/local/recipes/kde/kwin/recipe.toml @@ -59,6 +59,7 @@ dependencies = [ "libudev", "wayland-protocols", "redbear-compositor", + "libxkbcommon", ] script = """ DYNAMIC_INIT diff --git a/local/recipes/qt/qtbase/recipe.toml b/local/recipes/qt/qtbase/recipe.toml index 224eab793c..d069ba23f2 100644 --- a/local/recipes/qt/qtbase/recipe.toml +++ b/local/recipes/qt/qtbase/recipe.toml @@ -27,6 +27,9 @@ dependencies = [ "dbus", "mesa", "openssl3", + # Gates QT_FEATURE_xkbcommon. Without it qtbase never installs + # QtGui/private/qxkbcommon_p.h, which kwin's inputmethod.cpp includes. + "libxkbcommon", ] script = """ DYNAMIC_INIT