Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] set myapp.app icon
Good morning, I have a problem setting the icon of executable myapp.app on mac os x. I have followed this guide http://doc.qt.nokia.com/4.7.1/appicon.html
I put myapp.icns file into a project source folder and then I add this entry ICON = myapp.icns into myapp.pro file.
When I build ed run program but I don't see icon myapp.app executable program changed. Can you help me,please?
andre last edited by
Did you re-run qmake before building?
Yes, I did. I run qmake and rebuild.
goetz last edited by
Delete the application bundle directory (myapp.app) completely and rebuild. The Info.plist file inside the bundle that contains a link to the icon is not updated once it was put into the bundle.
In such cases it is generally a good idea to clean the project, remove the application bundle and rebuild (removing the app bundle is often forgotten, though :-) )
Ok, perfect! now it work. Thank you :)