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. Qt or win32 monitors the specified USB device
Forum Updated to NodeBB v4.3 + New Features

Qt or win32 monitors the specified USB device

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 188 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.
  • W Offline
    W Offline
    wanhong
    wrote on 6 Aug 2024, 10:19 last edited by
    #1

    How to use qt or win32 to monitor the plug-in and unplug events of a specified device? I need to check for other interfering devices.

    P 1 Reply Last reply 6 Aug 2024, 11:34
    0
    • W wanhong
      6 Aug 2024, 10:19

      How to use qt or win32 to monitor the plug-in and unplug events of a specified device? I need to check for other interfering devices.

      P Offline
      P Offline
      Pl45m4
      wrote on 6 Aug 2024, 11:34 last edited by
      #2

      @wanhong

      Hi, Qt ifself has no ready-to-use module for this, as far as I know.
      However, a user made QDeviceWatcher, which might fit your needs.

      Check the GitHub here.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      W 1 Reply Last reply 13 Aug 2024, 14:19
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 6 Aug 2024, 15:41 last edited by
        #3

        Hi,

        If the module of @Pl45m4 is not enough, you might want to check KDE's Solid framework.

        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
        • P Pl45m4
          6 Aug 2024, 11:34

          @wanhong

          Hi, Qt ifself has no ready-to-use module for this, as far as I know.
          However, a user made QDeviceWatcher, which might fit your needs.

          Check the GitHub here.

          W Offline
          W Offline
          wanhong
          wrote on 13 Aug 2024, 14:19 last edited by
          #4

          @Pl45m4 thank you

          1 Reply Last reply
          0

          4/4

          13 Aug 2024, 14:19

          • Login

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