From 74ae78d4c6e3bb6269ec884522a0c2753c35483d Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Mon, 10 Oct 2022 17:07:37 +0200 Subject: [PATCH] Adapt to Qt XkbCommon header changes in Qt 6 --- .../x11_standalone_effects_keyboard_interception_filter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backends/x11/standalone/x11_standalone_effects_keyboard_interception_filter.cpp b/src/backends/x11/standalone/x11_standalone_effects_keyboard_interception_filter.cpp index 9e11c1a7fb..9211fef877 100644 --- a/src/backends/x11/standalone/x11_standalone_effects_keyboard_interception_filter.cpp +++ b/src/backends/x11/standalone/x11_standalone_effects_keyboard_interception_filter.cpp @@ -10,7 +10,11 @@ #include #include +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) #include +#else +#include +#endif namespace KWin {