[Interest] When is QDir::Drives useful?

Nikos Chantziaras realnc at gmail.com
Tue Jul 31 08:20:59 CEST 2012

Nope.  I just tested it under Windows XP and 7.  The contents of "/" are 
the contents of "C:/".  Which makes sense, since Windows completely 
lacks the concept of a single root directory.  So I guess the question 
remains open.

On 31/07/12 09:10, Scott Aron Bloom wrote:
> That has not been my experience... However, it has been a while since I have used it.  IIRC it would return the list of drives available ...
> Maybe some code would help us figure out what is going on.
> Scott
> -----Original Message-----
> From: interest-bounces+scott.bloom=onshorecs.com at qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On Behalf Of Nikos Chantziaras
> Sent: Monday, July 30, 2012 11:00 PM
> To: interest at qt-project.org
> Subject: Re: [Interest] When is QDir::Drives useful?
> The root directory on Windows contains the root directory of the currently active drive.  If the current drive is C:, then the contents consist of stuff like "Windows", "Program Files", "Users", etc.  No drives in there.
> On 31/07/12 08:26, André Somers wrote:
>> How about the root directory on windows, for instance?
>> André
>> Op 31 jul. 2012 om 07:21 heeft Nikos Chantziaras <realnc at gmail.com> het volgende geschreven:
>>> According to:
>>>     http://qt-project.org/doc/qt-4.8/qdir.html#Filter-enum
>>> "QDir::Drives" lists drives.  Which directory would you have to open
>>> though that could possibly contain disk entries?

More information about the Interest mailing list