Qt 6.11 is out! See what's new in the release
blog
QStorageInfo to detect USB drives
General and Desktop
7
Posts
3
Posters
4.0k
Views
1
Watching
-
Hi,
Do you mean detecting new plugged devices or analyzing what is currently available ?
-
For these kind of notifications there's KDE's Solid library that IIRC is a Tier1 library which means it only depends on Qt.
-
You can use it like any other library, first compile it and then update you project like the usual
-
I just posted some code using a timer and QDir::drives()...tested on Windows 7: link