Create a new Qt Quick Application - Empty project. Edit the main.qml file to add a circle to the window:
Rectangle { id: circle width: 60; height: width radius: width / 2 color: "red" }
Next, add a MouseArea to the circle and use its drag property to enable moving the circle by touch (or mouse):
Rectangle { //... MouseArea { anchors.fill: parent drag.target: circle } }
Then, you can start the application and begin moving the circle around.