Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Removable Device Notification?
karl_qt last edited by
Is there a way to get a notification of any kind, if a removable device, like USB-Stick, SD-Card or CD/DVD was inserted in a PC? The "insert-event" would be more important, than the "remove-event". Using a timer for polling every 10 seconds or so, would only be a poor solution. I'm using Qt 5.5 on Windows 8.1, but an OS-independent, Qt-like way would be nice.
No official Qt API i am aware of, but there is a user created project: QDeviceWatcher
worth giving it a try at least
There's also KDE's Solid framework that might be of interest.