osx - How to set c++ application name and icon on Mac? -
i have c++ application qt ui needs run on both windows , mac. use jamplus compile it. in qtdesigner set application name (for example "my application") , icon, on mac name set displayed in window header, , in taskbar shows filename instead (for example myapplication.debug) , default terminal icon. on windows, title , icon shown correctly both in window header , taskbar. googled it, have discovered can change in xcode project settings, don't use , need solution not depend on it. correct way it?
to set icon on mac add icon = /path/to/your/icon.icns
.pro
file, application name change target
in .pro
file want application file name be.
Comments
Post a Comment