import QtQuick 2.7 import QtQuick.Controls 2.2 import QtQuick.Window 2.3 ApplicationWindow { id : mainWindow width: 800 height: 600 visible : true Rectangle { id : mainView color : "white" anchors.fill: parent DropArea { id: mainDrop anchors.fill: parent onEntered : { console.log( "ENTERED\n" ) drag.accepted = false } onExited : { console.log( "EXITED\n" ) } onDropped : { console.log( "DROPPED\n" ) drop.accept(); } } } }