[Development] QtQuick: Drag pixmap

Fabien Castan fabcastan at gmail.com
Wed Jan 22 00:11:31 CET 2014


Hi,

Qt 5.2 adds the possibility to use drag&drop from/to external applications.
To allows to drag an item from QML to an external application, we can't
simply set a target item, because we want to see this item ouside of the
qml window.
In Qt, we could set a pixmap on drag events:
http://qt-project.org/doc/qt-4.8/qdrag.html#setPixmap

I don't see something like that in QtQuick (Qt 5.2):
http://qt-project.org/doc/qt-5/qml-qtquick-drag.html

Is there a solution to do such thing in pure QML?

Regards,
Fabien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140122/94d729cf/attachment.html>


More information about the Development mailing list