Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
7 October 2025
In this video, you will learn how to let the user drop files onto a Qt widget. The users of your application will appreciate being able to open a file by dragging it from a file manager (for instance), and dropping it onto your application.
QWidget makes this quite easy; you only have one method to call and two virtual methods to reimplement.
The example code showcased in this video is available here
Links:
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Upgrade your applications from Qt 5 to Qt 6 with KDAB’s migration services. Get a free migration assessment and join a hands-on workshop to prepare your team for a successful transition!
Learn more