Qt 6.11 is out! See what's new in the release
blog
I want qt to recognize the usb and get the path to that usb as well.
-
I want qt to recognize the usb and get the path to that usb as well.
There are a lot of people who tell me to use libusb, but can I just include the dll in the project? Or do I have to set it up another way?
I am developing on Windows and will eventually use it on Raspberry Pi.
Here's an example I found.
This is a way to recognize usb with nativeEvent event, and get VID, PID and Serial Number. But is there any way to know which USB is which path? -
On Windows you can use the Setup API (WIN32 API). Where you need to register the required USB device class UUID and then watch for the events. Also you can get a full path to the USB devices.
On Linux you can use the UDEV (udev manager) with a similar way.
PS: Google in help.