Fix build with -no-feature-gestures

Disable xcb touchpad gesture when gestures is not available

Pick-to: 6.5
Change-Id: Idd2fec38646fad4cbda20ab1e560949c8e8844ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Tasuku Suzuki 2023-02-10 15:59:05 +09:00
parent 3932417dc9
commit 79b8bf983d
1 changed files with 2 additions and 0 deletions

View File

@ -15,7 +15,9 @@
#include <xcb/xinput.h>
#if QT_CONFIG(gestures)
#define QT_XCB_HAS_TOUCHPAD_GESTURES (XCB_INPUT_MINOR_VERSION >= 4)
#endif
using namespace Qt::StringLiterals;