A lot of applications allow users to drag a file or files to the application's main window.

How do I add support for this feature in my own Qt application?

Edit
Report