Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML gestures don't work on Android 2.3.3
Qt 6.11 is out! See what's new in the release blog

QML gestures don't work on Android 2.3.3

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Peppy
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved