简体   繁体   中英

Read data from Usb in qt

我想使用qt从USB读取数据,尽管我已经知道可以使用folderlistmodel来完成数据,但是我不知道可能有人可以帮助我。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM