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. event when I attach a USB pendrive
Forum Updated to NodeBB v4.3 + New Features

event when I attach a USB pendrive

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 864 Views 2 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    is there?

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

      Hi,

      System wise, yes. Qt wise, no.

      There are already several threads on that matter on this forum.

      Search for them.

      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
      2
      • SGaistS SGaist

        Hi,

        System wise, yes. Qt wise, no.

        There are already several threads on that matter on this forum.

        Search for them.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @SGaist so in qt there isn't

        mrjjM 1 Reply Last reply
        0
        • ? A Former User

          @SGaist so in qt there isn't

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @vale88
          Nope, not something that sends an event.
          You can scan for drives though.
          https://stackoverflow.com/questions/40035332/how-to-get-path-to-usb-drive-on-linux-in-qt

          1 Reply Last reply
          2
          • Camilo del RealC Offline
            Camilo del RealC Offline
            Camilo del Real
            wrote on last edited by
            #5

            Hi @vale88
            Sometime ago I used QDeviceWatcher for monitoring USB pendrive hotplug event, you can try
            https://github.com/wang-bin/qdevicewatcher
            it worked for Windows and Linux, and it very easy to use

            1 Reply Last reply
            2

            • Login

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