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. How to create a thread in Qt C++ to monitor USB events.

How to create a thread in Qt C++ to monitor USB events.

Scheduled Pinned Locked Moved Unsolved General and Desktop
usb qtc++ threadmonitoring
2 Posts 2 Posters 578 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.
  • A Offline
    A Offline
    aftershocker1
    wrote on last edited by
    #1

    I am doing an internship this summer and have hit a bit of a standstill. I am creating a desktop application that monitors information from a PCB. The PCB is connected via USB and I need to monitor event information that comes from it. I think the bets way to do this would be to create a thread to monitor the events then pass the information from this into the main program(maybe using QSemaphores?).

    Any guidance would be great as I am not really sure if this is the best way to do it or how best to create a thread that would monitor the events in Qt.

    I should add I am using hidapi.dll.

    Thanks in advance!

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      https://github.com/nwoki/usb-notifier

      1 Reply Last reply
      3

      • Login

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