Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.9.1
-
None
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() } }