To paint the rectangle in qml using mouse area. I dont know how to use drag to paint the rectangle. Here is the code i am working with
Qt Code:
Rectangle { id: container width: 600; height: 200 MouseArea { anchors.fill: parent drag.target: drag.axis: } }To copy to clipboard, switch view to plain text mode
Bookmarks