Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtQuick's PinchArea seems unresponsive



  • In the below code,

    @import QtQuick 2.0

    Item {

    width: 320
    height: 480
    
    Rectangle {
        id: gisview
        anchors.fill: parent
        color: "black"
    }
    PinchArea {
        anchors.fill: gisview
        enabled: true
        onPinchStarted: {
            console.log("pinch ON !...")
        }
        onPinchUpdated: {
            console.log("and ON...")
        }
        onPinchFinished: {
            console.log("and finally off.")
        }
    
    }
    

    }@

    When I click&drag on the window, nothing is written to the console. Am I missing what is PinchArea for or should I specify more properties to have it working ?


Log in to reply