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.