Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change my Qt app name on the Mac OS X system menu?

Tags:

qt

My Qt application is showing up with a rather unfriendly name on the Mac OS X menu. The name looks like my_funky_app.

How do I change this to something more likeable?

enter image description here

like image 646
josef.van.niekerk Avatar asked May 07 '13 19:05

josef.van.niekerk


People also ask

How do I change my Qt application name?

You can go to the Designer in Qt Creator and change the title of the object in settings,which are on the right side.

Where is Qt installed on Mac?

To configure the Qt library for your machine type, run the ./configure script in the package directory. By default, Qt is configured for installation in the /usr/local/Trolltech/Qt-4.8. 5 directory, but this can be changed by using the -prefix option. Type ./configure -help to get a list of all available options.


2 Answers

Have an Info.plist and set the CFBundleName as your nice name.

<key>CFBundleName</key>
<string>FancyAppName<string>
like image 63
JasonM Avatar answered Nov 12 '22 17:11

JasonM


Change the TARGET line in your .pro file:

TARGET = FancyAppName
like image 33
Stephen Chu Avatar answered Nov 12 '22 17:11

Stephen Chu