Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MultiPointTouchArea not working?
Qt 6.12 LTS is out! See what's new in the release blog

MultiPointTouchArea not working?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I can't get a simple application of MultiPointTouchArea to work. My touch screen works perfectly, and I am able to create mouse events and touch events with it, so that is not the problem.

    Here is the simple code I am trying to run:

    @
    import QtQuick 2.0

    Rectangle {
    width: 400; height: 400
    MultiPointTouchArea {
    anchors.fill: parent
    enabled: true
    touchPoints: [
    TouchPoint { id: point1 },
    TouchPoint { id: point2 }
    ]
    }

    Rectangle {
        width: 30; height: 30
        color: "green"
        x: point1.x
        y: point1.y
    }
    
    Rectangle {
        width: 30; height: 30
        color: "yellow"
        x: point2.x
        y: point2.y
    }
    

    }
    @

    Is MultiPointTouchArea broken as of a recent Qt patch? Am I missing something obvious?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Problem solved: my touch screen was the issue, someone in the office switched it out accidentally.

      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
      • Unsolved