开发者

How to resolve Mac OS "Alias" in Qt?

开发者 https://www.devze.com 2023-03-28 17:53 出处:网络
In Qt the API QDir::canoni开发者_JS百科calPath() can resolve the path for a symbolic link of a directory on Mac OS (symbolic link created through ln -s). But if I try to resolve the path of an \"Alias

In Qt the API QDir::canoni开发者_JS百科calPath() can resolve the path for a symbolic link of a directory on Mac OS (symbolic link created through ln -s). But if I try to resolve the path of an "Alias" it doesn't work (created through the context menu "Make Alias"). Is there any way to make it work in Qt? Or I need to right Cocoa wrapper to get the information.

Regards, Soumya

0

精彩评论

暂无评论...
验证码 换一张
取 消