Hi all,
I have a DropArea in my QML app and I would like to drag and drop an external file in my app (in order to get the file path).
The drop event works but I cannot find how to get file data from drop/drag event …
Any idea ?
Rectangle {
width: 300;
height: 300;
DropArea {
id: dropArea;
anchors.fill: parent;
onDropped: {
console.log ("onDropped");
console.log(drag);
console.log(drop);
}
}
}
↧