Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Get notification about usb pendrive using qt

Get notification about usb pendrive using qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 721 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ankit thakarA Offline
    ankit thakarA Offline
    ankit thakar
    wrote on last edited by
    #1

    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 ???

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      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?!)

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved