Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Get file info when dropping a file in DropArea

$
0
0
The DropArea component uses the QQuickDropEvent class which does not give access to mime data like the QDropEvent class does. Why don’t you try creating your own custom qml component and override the dropEvent function which uses the QDropEvent class. That way you would have access to the file path.

Viewing all articles
Browse latest Browse all 4972

Trending Articles