Is there any other mechanism from QT that takes in a URI and lists the files in
From: Thiago Macieira [mailto:[email protected]]
Sent: Thursday, August 21, 2008 11:54 PM
To: [email protected]
Subject: Re: QT 3.3.7, QDir, and Network directories
[email protected] wrote:
>I am trying to get a list of all the files in a network directory. QDir
>doesn't seem to recognize a network directory path, for example:
>"smb://network-share/files". Passing this URI into QDir yields a count
>of 0 files. Is there anyway in QT 3.3.7, to query files in a network
>directory (over samba for instance)?
QDir takes a file path, not a URL.
You will have to mount those SMB shares first, before you can use QDir.
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech, a Nokia Company
Sandakerveien 116, NO-0402 Oslo, Norway
To unsubscribe - send a mail to [email protected] with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/