Can't get Drag and Drop capability work.
Hi,
i am try to implement drag and drop capability in little program ,,,
the problem is when i set the main window to accept drops, it is not working and when i try to drop a file i get an error cursor.
It's weird because I did it before and it worked ...
I try to compare the projects and I do not see much difference...
This may sound familiar to anyone???
Does anybody have an idea that can help?
Thank you very much!
Re: Can't get Drag and Drop capability work.
I got it.
I had to implement the function:
dragEnterEvent(QDragEnterEvent *event)
With:
event->acceptProposedAction();
Otherwise it does not allow Drops.
:D