Removable Device Notification?

  • 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.

  • Moderators

    No official Qt API i am aware of, but there is a user created project: QDeviceWatcher
    worth giving it a try at least

  • Lifetime Qt Champion


    There's also KDE's Solid framework that might be of interest.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.