How to emit onDropped in QML drag n drop example?

Solution 1:

Apparently a drop needs to be generated explicitly by calling the drop() method on the Drag object

Try adding this line inside of the MouseArea, just above drag.target: parent

onReleased: parent.Drag.drop()