Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67933

QtQuick gestures not working on iPhone 6 with iOS v11.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.9.1
    • Sensors
    • None
    • iOS/tvOS/watchOS

    Description

      When using the very basic sample below to test what gestures are available, I was able to click the button and get a list of gestures on Android, but not on iOS. The list of available gestures is literally empty.

       

      import QtQuick 2.7
      import QtQuick.Controls 2.1
      import QtQuick.Dialogs 1.2
      import QtSensors 5.0
      
      MessageDialog {
          id: msgDialog
      }
      
      
      SensorGesture {
          id: sensorGesture
          gestures : ["QtSensors.shake", "QtSensors.whip", "QtSensors.twist", "QtSensors.cover",
              "QtSensors.hover", "QtSensors.turnover", "QtSensors.pickup", "QtSensors.slam" , "QtSensors.doubletap"]
          
          enabled: true
          
      }
      
      Button {
          text: "Gestures available?"
          onClicked: {
              msgDialog.title = 'Gestures available'
              msgDialog.text = String(sensorGesture.availableGestures)
              msgDialog.open()
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            phaakma Paul Haakma
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes