diff -r 5dc02b23752f -r 3e2da88830cd src/gui/kernel/qeventdispatcher_mac.mm --- a/src/gui/kernel/qeventdispatcher_mac.mm Tue Jul 06 15:10:48 2010 +0300 +++ b/src/gui/kernel/qeventdispatcher_mac.mm Wed Aug 18 10:37:55 2010 +0300 @@ -492,6 +492,7 @@ case NSOtherMouseDown: case NSOtherMouseUp: case NSOtherMouseDragged: +#ifndef QT_NO_GESTURES #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 case NSEventTypeGesture: // touch events case NSEventTypeMagnify: @@ -500,6 +501,7 @@ case NSEventTypeBeginGesture: case NSEventTypeEndGesture: #endif +#endif // QT_NO_GESTURES result = true; break;