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
For Gerrit Dashboard: QTBUG-63970 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
209271,2 | Fix resolving of symlink to UNC share on Windows | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
258272,10 | Fix resolving NTFS symbolic links that point to UNC shares | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |