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
parent
3932417dc9
commit
79b8bf983d
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue