QWidget gestures on android
-
Did anyone succeed in getting swipe, pan and pinch gestures in a QWidget based android application. I only seem to be able to get the tap and hold gesture.
-
did you "grab":http://qt-project.org/doc/qt-4.8/qwidget.html#grabGesture the gesture?
-
yes, grabbed all gestures, even tried swiping with 2 or three fingers, nothing happens except for tap and hold
-
this "thread":http://qt-project.org/forums/viewthread/34337 may be interesting for you.
-
Finally found what seems to be the problem, to get the gestures in a custom widget I have to call grabGesture(...) in both the MainWindow constructor and in my custom widget.