Qt application title

Amxx picture Amxx · Nov 8, 2012 · Viewed 14k times · Source

I'm developping a Qt application

I managed to set the main window title using methode

setWindowTitle("my title");

however this changes the name in the application top bar, it doesn't affect the title displayed in the top bar of gnome shell (ubuntu) nor the title displayed when doing alt+tab.

How to change it ?

I've tried using the DEPLOYMENT.display_name variable in my .pro file

Answer

Jokahero picture Jokahero · Nov 8, 2012

Try using QCoreApplication::setApplicationName("your title") in your main code.