Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.7.0
-
None
Description
Currently we are working on QGesture class which is having QPan, QPinch, QSwipe and QTap gestures.
In among four the pinch and pan are working perfectly in imx6 boards.but swipe is not working not at all.
How I tested the swipe gestures in target:
Initially we tested using a QT5 sample application called image widgets, which supports pinch,pan and swipe gestures. We tried using single finger to swipe the image but it doesn't help us.
We exported some variables to enable the debug output of the image widget application.
$ export QT_LOGGING_RULES=qt.qpa.input=true
$ export QT_LOGGING_RULES=qt.examples.imagegestures=true
After exporting these I could debug the image widget sample qt5 application,In the debug output I am not getting the swipe event.
After searching some qt5 source code(qstandardgestures.cpp) ,I get to know that QT5 swipe is using three fingers.
"if (ev->touchPoints().size() == 3) {
d->state = QSwipeGesturePrivate::ThreePointsReached;"
Also we tried with three fingers in qt5 image widget application.It's failed to move another image.
Please find the attached pictures below