From 220ce15648576a45ec9deb93d01b48ded8084c2f Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 12 May 2025 00:52:38 +0000 Subject: [PATCH] qt5base: force-build "input"-component Without that patch the build rule including the input component depends on other options being enabled, such as e.g. GUI support. Since our host build is headless and we only need the input component which actually does not have any such dependencies, we patch to force- build it. input component being present is a requirement for e.g. qt5tools building certain host tools - such as 'kmap2qmap'. --- .../patches/100-always-enable-libinput.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch diff --git a/frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch b/frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch new file mode 100644 index 0000000..74fc263 --- /dev/null +++ b/frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch @@ -0,0 +1,17 @@ +--- ./src/platformsupport/platformsupport.pro 2020-05-11 08:15:08.000000000 +0000 ++++ ./src/platformsupport/platformsupport.pro.mod 2020-06-11 21:15:01.922331522 +0000 +@@ -6,13 +6,13 @@ + eventdispatchers \ + devicediscovery \ + fbconvenience \ +- themes ++ themes \ ++ input + + qtConfig(freetype)|darwin|win32: \ + SUBDIRS += fontdatabases + + qtConfig(evdev)|qtConfig(tslib)|qtConfig(libinput)|qtConfig(integrityhid)|qtConfig(xkbcommon) { +- SUBDIRS += input + input.depends += devicediscovery + } -- 2.30.2