
Originally Posted by
freeskydiver
Hello,
how get a icon in my program. The programicon or applicationicon for osx?
I develop with xcode.
thanks in advance
Here is my variant...
Open /Developer Application tool or so Icons manager ...
save the file default *.icns
drag your minimum 200x200 png image to all level 20 , 80 , 128 , ....
and save the file... to root projekt same level as pro file...
open on your pro file write....
macx:RC_FILE = htmlic.icns
win32:RC_FILE = win.rc
#### run on unviersal if you build qt -universal
#### macx:QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
#### macx:CONFIG+=x86 ppc
macx:RC_FILE = htmlic.icns
win32:RC_FILE = win.rc
#### run on unviersal if you build qt -universal
#### macx:QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
#### macx:CONFIG+=x86 ppc
To copy to clipboard, switch view to plain text mode
rewrite xcode file
qmake -spec macx-xcode *name*.pro
Bookmarks