Details
Description
1) Create Windows symlink to UNC path, eg:
mklink /D D:\dat\tst \\10.3.0.2\drivej\testfiles
(D:\dat -existing folder, tst - symlink name, \\10.3.0.2\drivej\testfiles - UNC path on server).
2)
QFileInfo("D:/dat/tst").canonicalPath() will return D:/dat/UNC/10.3.0.2/drivej which is incorrect, it should be //10.3.0.2/drivej
absolutePath() works OK (symlinks are not resolved, as expected)
Attachments
Issue Links
- is duplicated by
-
QTBUG-71700 QFileInfo::symLinkTarget() returns an incorrect path on a symlink for a shared folder on Windows
- Closed
- relates to
-
QTCREATORBUG-21881 When using a UNC path inside INCLUDEPATH then it will assume it to be a relative one when passed to clang for analyzing
- Closed
- tests
-
QTBUG-73688 Qt doesn't treat UNC paths and NTFS symbolic links correctly
- Closed