Unsolved How can I change the menu name different with my project name?
-
I have an mac application, How can I change the menu name different with my project name?
I want to change "Hide obs" to "Hide OBS123" and "Quit obs" to "Quit OBS123" -
Hi,
Did you do setup your application name ?
Only in your .pro file ? -
I'm using c++ and qt to develop, but I do not have an qt project, so I can not set up my app name in .pro file。 The project is created from cmake
-
@pengxu you can specify the application name in main.cpp
QCoreApplicationName("MyNameHere"); IIRC you should set that before you instantiate the QApplication.Thats for QSettings 🤦♂️
in QML you have the
title
property (of for example ApplicationWindow) for QWidgets you have thesetWindowTitle(QString)
function to do the same