Hello,

in my application I search for files and the user can select from the found files and delete them.
Now I have the problem that if a file is a Windows shortcut QFile::remove(...) cannot remove the shortcut as it tries to remove the linked file.

E.g.
- C:\theShortcut.html.lnk points to C:\path\someFile.html
- Now I want to delete the shortcut with QFile::remove("C:\theShortcut.html.lnk")
- But now Qt tries to delete C:\path\someFile.html (let us ignore whether the file exists or not)

Is there a way to delete a Windows shortcut file with Qt?