Details
Description
cd /d D:\temp mklink link ..\path\target
#include <QDebug> #include <QFileInfo> int main() { QFileInfo fi("D:/temp/link"); qDebug() << fi.symLinkTarget(); // ../path/target return 0; }
According to the documentation, the path should be absolute.
Attachments
For Gerrit Dashboard: QTBUG-62802 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
203638,8 | Fix resolution of relative links on Windows | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |