icns file name to the MACOSX_BUNDLE_ICON_FILE variable.
To configure the application's icon, the ist file generated by CMake must contain the icon information. Using this tool also compresses the resulting icns file, so there is no need for you to perform additional compression. iconutil is a command-line tool that converts iconset folders to deployment-ready, high-resolution icns files. icns), the recommended approach is to use the iconutil program supplied by Apple. To ensure that the correct icon appears, both when the application is being launched, and in the Finder, it is necessary to employ a platform-dependent technique.Īlthough many programs can create icon files (. It is possible that the program could appear in the application dock area before the function call, in which case a default icon will appear during the bouncing animation. The application icon, typically displayed in the application dock area, is set by calling QWindow::setWindowIcon() on a window. rc file, then link your application with the resulting. rc file and run the rc or windres program on the. If you do not use qmake, the necessary steps are: first, create an.