The grip set dragProxy.Drag.active = true and then called startDrag(). For a Drag.Automatic drag that is wrong — startDrag() is what activates the drag — so it raised "startDrag() drag must be active", the OS drag never began, and every target showed the no-drop cursor. Remove the manual active assignment; call startDrag() alone (it runs the platform drag and blocks until it completes). Add Drag.proposedAction = MoveAction. Do the drag cleanup in onReleased via commitDrop(), which commits when the drop landed on a valid outline target and otherwise just clears the drag state. GUI builds clean. |
||
|---|---|---|
| .. | ||
| DatePickerDialog.qml | ||
| Main.qml | ||
| OutlineView.qml | ||
| SettingsDialog.qml | ||