Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Removable Device Notification?

Removable Device Notification?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 878 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    karl_qt
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

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

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved