diff -r dee5afe5301f -r 3f74d0d4af4c src/gui/kernel/qwidget_win.cpp --- a/src/gui/kernel/qwidget_win.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/kernel/qwidget_win.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -2052,6 +2052,8 @@ if (!q || !q->isVisible() || !nativeGesturePanEnabled) return; + if (!QApplicationPrivate::HasTouchSupport) + return; QApplicationPrivate *qAppPriv = QApplicationPrivate::instance(); if (!qAppPriv->SetGestureConfig) return;