Results 1 to 1 of 1

Thread: QDirIterator and windows drives

  1. #1
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QDirIterator and windows drives

    Hi

    I use QDirIterator to search my computer for specific files, and it works great. I currently use it with "/" or "C:\" as path in order to search everything. However, this will only list the contents of C:\, and not other drives.

    I know I can use QDir::drives(), however, this will list ALL drives, and not just the fixed hard drives. Anyone know any solution for this?

    The problem is that my cardreader lists as a drive, but the application crashes if I try to iterate it.
    Last edited by invictus; 8th March 2009 at 21:59.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.