From 326658cfcd75dcfbb6dcb92045ac8b417c6d13c3 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Mon, 3 Dec 2018 14:08:31 +0100 Subject: libinput: use QT_CONFIG(xkbcommon) macro This patch amends c3a963da1f9e7b1d37e63eedded61da4fbdaaf9a Change-Id: I9e66aac4f0f45714343c585c79f37bd76683e103 Reviewed-by: Oswald Buddenhagen Reviewed-by: Gatis Paeglis --- src/platformsupport/input/libinput/qlibinputkeyboard_p.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/platformsupport') diff --git a/src/platformsupport/input/libinput/qlibinputkeyboard_p.h b/src/platformsupport/input/libinput/qlibinputkeyboard_p.h index 9e09bccd79..14ae71b545 100644 --- a/src/platformsupport/input/libinput/qlibinputkeyboard_p.h +++ b/src/platformsupport/input/libinput/qlibinputkeyboard_p.h @@ -43,7 +43,9 @@ #include #include -#ifndef QT_NO_XKBCOMMON_EVDEV +#include + +#if QT_CONFIG(xkbcommon) #include #endif @@ -70,7 +72,7 @@ public: void processKey(libinput_event_keyboard *e); -#ifndef QT_NO_XKBCOMMON_EVDEV +#if QT_CONFIG(xkbcommon) void handleRepeat(); private: -- cgit v1.2.3