.icns
extension. But how does one create such a file?.icns
icon in Qt-based application (deadly simple).man
page is all we have).iconutil
. I mean, you can, but it will give you the following error:iconutil
takes only specially named folders. Just how am I supposed to know about that? And it shows similar short and useless error messages for other things it doesn’t like. For example, here’s an output for the situation when files inside iconset folder are not named “properly” or have “wrong” dimensions:.iconset
“extension”, for example some.iconset
;missing size
error. I never got such an error, so even though I accepted the commit, I won’t add those changes to the article.~/Desktop/apple.iconset
;iconutil
on this folder and put resulting apple.icns
to ~/Desktop/
.apple.icns
looks like in Preview:.icns
as an icon for a Qt-based application.apple.icns
into your Qt project folder and add the following line into your-project.pro
: