libinput: use QT_CONFIG(xkbcommon) macro

This patch amends c3a963da1f

Change-Id: I9e66aac4f0f45714343c585c79f37bd76683e103
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
This commit is contained in:
Gatis Paeglis 2018-12-03 14:08:31 +01:00
parent 0088f76043
commit 326658cfcd

View File

@ -43,7 +43,9 @@
#include <QtCore/QPoint>
#include <QtCore/QTimer>
#ifndef QT_NO_XKBCOMMON_EVDEV
#include <QtGui/private/qtguiglobal_p.h>
#if QT_CONFIG(xkbcommon)
#include <xkbcommon/xkbcommon.h>
#endif
@ -70,7 +72,7 @@ public:
void processKey(libinput_event_keyboard *e);
#ifndef QT_NO_XKBCOMMON_EVDEV
#if QT_CONFIG(xkbcommon)
void handleRepeat();
private: