QML gestures don't work on Android 2.3.3



  • Hi folks, I have been "brainf*cked" by Android: My Android phone (Android 2.3.3) is not able to recognize more gestures than Tap or Tap&Hold. I haven't tried QGestureRecognizer yet, but I have tried function grabGesture() and it seems like it doesn't work somewhere inside.

    @
    Text
    {
    id: txt
    anchors.fill: parent
    anchors.horizontalCenter: parent.horizontalCenter
    anchors.verticalCenter: parent.verticalCenter
    }

    GestureArea
    {
    anchors.fill: parent
    width: parent.width
    height: parent.height

        onTap: txt.text = "Tap!"
        onTapAndHold: txt.text = "Tap & Hold!"
        onPinch: txt.text = "Pinch!"   // does not recognize
        onSwipe: txt.text = "Swipe!" // does not recognize
        onPan: txt.text = "Pan!"    // does not recognize
    }
    

    @

    Do you have suggestion what I shall do?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.