Hello,
I'm Hong Jen Yee (pcman), one of the main developers of LXQt and LXDE
desktop.
As I'm the developer of our file manager, we encountered some regression
bugs of Qt 5.4 that breaks DND support.

#49947: Drop events have broken mimeData()->urls() and text/uri-list.
#47981: Qt5.4 regression: Dropping text/urilist over browser windows stop
working.
Related LXQt bug: https://github.com/lxde/lxqt/issues/688

Since DND is crucial for a modern desktop environment and it's an upstream
bug, I believe that KDE is also affected.
Luckily I found some quick workarounds, so I'm gonna share it with you.

https://github.com/lxde/pcmanfm-qt/pull/295/files

I made it an independent C++ class which is licensed under LGPL, so it can
easily be reused by other Qt projects.
Just add two lines in your main() and it will work automagically.

The bug still exists in Qt 5.5 and it's not yet fixed in Qt upstream.
So, hope this helps! :-)

Best regards from LXQt.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to