-
USB Device detection
Hi, i'm learning QT at the moment, I already programmed a lot of Java but now I want to try something new.
I want a programm which starts waits until a usb device is plugged in and then delets all the data on the device.
I found a lot of posts which should do the same but most of them are not working with a Win32 System or QT5 because lot of old functions are not available anymore in QT5.
I hope somebody can help me and explain exactly what to do or load up a .zip with code that works.
Thanks a lot :)
-
Re: USB Device detection
You can likel use Solid to detect the device
https://inqlude.org/libraries/solid.html
Cheers,
_
-
Re: USB Device detection
Thanks for the quick answer but I claim that solid is only for Linux systems and i am working with Windows.
-
Re: USB Device detection
The documentation says "Linux, MacOSX and Windows": https://api.kde.org/frameworks/solid/html/index.html
Cheers,
_