Reputation: 510
I wanna read data from USB using qt though I have read that it can be done using folderlistmodel but I don't know so may be someone can help me with that.
Upvotes: 1
Views: 3125
Reputation: 61
This is a helpful link on getting raw data(link below).
@MSalter It works exactly like reading from a file or more precisely a buffer. If the OS managed everything within the context of not having access, then every USB device would have to be approved by the OS manufacture which is not the case. (Devices certified by Microsoft or Apple/Mac is not the same as access restrictions to reading/writing to a device).
Reference: https://www.qtcentre.org/threads/41668-Reading-data-from-usb-port
Upvotes: 1