ICON=ICON. Icns
Then create a helloworld program, no Settings icon, but the runtime appeared like helloworld icon,
After I look at the help documentation, find the exe file, open the package content, respectively, to see the inside of the Info. The plist, following
The HelloWorld:

The helloworld:

O solve,
CodePudding user response:
To set up a file the app. RcIDI_ICON1 ICON DISCARDABLE "res/logo. Ico"
The above is the content, add the rc to pro file, compile it OK
CodePudding user response:
Before I tried, the rc file can only be used for Windows, MAC needs to set up the Info. The file,And I set up the icon, but did not set the program icon have appeared in the icon,