I hope you have set the MouseArea::drag.target correctly? Make sure that your drag target is either Image or it's parent. Also make sure that your drag.target does not have anchors set for drag.axis direction, for example a drag target anchored left and right can not be moved in x direction.
On Wed, May 21, 2014 at 2:29 PM, Kamalpreet Grewal <grewalkamal...@gmail.com > wrote: > I am making a QtQuick application. I am making use of drag and drop. I > want to drag images from one column of the UI into another. When I run > the application, the image stays in its place and a black tile is what > gets dragged. I want to be able to drag the image. > > The hierarchy of various components goes as: rectangle --> drag tile --> > image. > What should be the relationship between the drag tile component and > the image component so that on dragging the image is dragged onto the > drop area? > > -- > Kamalpreet Kaur Grewal > Blog: http://kamalpreetgrewal.wordpress.com/ > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest