I’m upgrading my application from Qt 4.8 to Qt 5.1, with Qt Quick 2.1.

I used to display a QML view in my mostly widget based application, on top of QDeclarativeView.

Originally I subclassed QDeclarativeView to add drag/drop functionality, so I could drop on top of the view and respond to it in my code.

To get the new QQuickView into a QWidget, I see I have the QWidget::createWindowContainer() method.

However, I get a specific QWidget* from this method and I'm not sure how to go about getting the drop functionality I require for my application.

Can anyone please advise here?