Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Is their a Qt API which differentiates between Removable Drives and a SD Card?

$
0
0
I am working on a Qt application where I have a QTreewidget which displays the removable drives and local drives. I have set an icon each for local drives and a separate icon for removable drive. I have 2 removable drives… One is a USB and other is a SDCard. Both are appearing as Removable drives in my treewidget with the same icon. I want to set 2 different icons. An SD icon for SD card and Removable drive icon for USB drive. Is their a Qt API which can let me know whether the connected device is a USB drive(Removable Drive) or a SDCard(Using a sd card reader)?? Please help :)

Viewing all articles
Browse latest Browse all 13965

Trending Articles