how to create shortcut to a directory
Hi
I need to create a shortcut for a browsed directory in linux , qt
1) I am using the QFile::link api , but I just wanted to know what extension to the link should be given.
like in windows , we have ".lnk" as the filename extension , what could be the prototype in linux.
2) Whether the appropriate directory would open up when I click the shortcut link
Re: how to create shortcut to a directory
Quote:
1) I am using the QFile::link api , but I just wanted to know what extension to the link should be given.
Linux has no special requirements of symbolic link names.
Quote:
2) Whether the appropriate directory would open up when I click the shortcut link
Unless a program makes special effort to manipulate the symbolic link itself then opening the link will open the target file/directory.