Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
4.3.1
-
None
Description
Getting a directory listing of the path "." with the current directory being a Windows network share (\\server\foo\bar) does not work if the application is executed in an UNC path (\\server\foo\bar).
Converting the relative path to an absolute one first and passing that to QDir works fine:
QDir(QDir(".").absolutePath()).entryList(QStringList("*.exe"))