> QGuiApplication app(argc, argv);
> appDispName = app.applicationDisplayName();
> appName = app.applicationName();
>
> I would expect that
>
> appDispName="myApp"
> appName = harbour-myapp
>
> but they don’t, both are "harbour-myapp", is this correct ?
>
Apparently you need to set it
Hey Stefan,
this behaviour is correct.The entries in the desktop file are not connected to
the properties of QGuiApplication and QCoreApplication.
QCoreApplication.applicationName is used to name configuration directories for
QSettings. If it is not set, it takes the executable name (harbour-my