I was trying to use a simple drag and drop feature in my Qt app. Here is my code:
MyWindow::MyWindow(QWidget *parent)
{
..........
setAcceptDrops(tru
To apply the patch, you would need to download the Qt Sources (ex. use git) and then add the lines needed to retrieve the filepath instead of the fileId using the:
QUrl::fromNSURL([url.toNSURL() filePathURL]);
method.
Here is the part where it should be added: Patch Code
When you did this, you need to build Qt and build your project with this patched version to take use of the changes you made.