Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

MultiPointTouchArea don't work, with official example

$
0
0
Hey, official example from http://qt-project.org/doc/qt-5/qml-qtquick-multipointtoucharea.html dont work. Code: import QtQuick 2.0   Rectangle {     width: 400; height: 400     MultiPointTouchArea {         anchors.fill: parent         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     } } Rectangles dont change position to position touched on the touch screen.

Viewing all articles
Browse latest Browse all 4972

Trending Articles