[Development] QML DropArea documentation unhelpful

Kevin Funk kfunk at kde.org
Wed May 14 23:56:25 CEST 2014

On Thursday 15 May 2014 04:44:34 Ben Lau wrote:
> well , I also think that the document about Drag and Drop is not clear
> enough.. Reading from example code is more easy to understand.
> Anyway , the solution to your problem: You should call drag.accept() within
> the onEntered slot. Then it will enable the onDropped slot to be executed.
> http://qt-project.org/doc/qt-5/qml-qtquick-dragevent.html#accept-method


that doesn't work either. And that's exactly what my second thought was as 
well (accepting the event in 'onEntered'). Sorry, no cigar.

Kevin Funk

More information about the Development mailing list