QT 6.7.2 C++ delete symblic link
Unsolved
General and Desktop
-
Hi,
I have created file symbolic link using (Microsoft Visual Studio 2022, C++ ,Windows 11, Qt 6.7.2):
QFile::link(filePath, symblicLinkPath);
but how to remove this link?
-
Hi,
I would go with QFile::remove.
-
@SGaist This doesn't remove the link. It shows me "No such file or directory found" when clearly it is there
-
@dheerajshenoy what is your exact situation ?
What does QDir::remove tell you ?