Fix build with -no-feature-gestures

Disable xcb touchpad gesture when gestures is not available

Change-Id: Idd2fec38646fad4cbda20ab1e560949c8e8844ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 79b8bf983dc86bc423ec8016d9e3fd5588a3cbed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tasuku Suzuki 2023-02-10 15:59:05 +09:00 committed by Qt Cherry-pick Bot
parent 96574333cf
commit 680a7259e1

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;