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