Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtQuick's PinchArea seems unresponsive
Forum Update on Monday, May 27th 2025

QtQuick's PinchArea seems unresponsive

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 368 Views
  • 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.
  • L Offline
    L Offline
    laerne
    wrote on last edited by
    #1

    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 ?

    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