From 32688a636b0c8487d10d6d6e14fe1cab5e4f3696 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 1 Apr 2015 21:56:56 +0200 Subject: [PATCH] + check for Win7 to activate gesture support --- src/Gui/WinNativeGestureRecognizers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Gui/WinNativeGestureRecognizers.h b/src/Gui/WinNativeGestureRecognizers.h index 55ee045ed..34eb3d8d7 100644 --- a/src/Gui/WinNativeGestureRecognizers.h +++ b/src/Gui/WinNativeGestureRecognizers.h @@ -35,7 +35,9 @@ #ifdef Q_WS_WIN #if QT_VERSION < 0x050000 -//#define GESTURE_MESS +#if(WINVER >= 0x0601) // need Windows 7 +#define GESTURE_MESS +#endif #endif // QT_VERSION < 0x050000 #endif // Q_WS_WIN