Get notification about usb pendrive using qt



  • Hello All,

    I want to make one application in which there would be one list widget in which there will be entries of externally inserted usb pen drives.
    If user clicks on any list item it will get all the information regarding that external pen drive.
    like what is the type then no. of cylinders, tracks, slots etc...

    Now my question is how can I get to know that usb pen drive is inserted ?? and how can I fetch the information of that usb pen drive? Does QT have such APIs ?? or I have to use msdn APIs ???



  • Qt does not have this functionality, if you don't mind a bit of C you can use libusb that works on pretty much all platforms Qt does (with the exception of iOS but do iOS powered devices have USB at all?!)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.