> 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
Hi
CPU x86, kubuntu 10.10, latest virtual box, Qt Creator 3.1.2,
not tested on a mobile phone, only simulator
If my
harbour-myapp.desktop file look like this
[Desktop
Entry]
Type=Application
X-Nemo-Application-Type=silica-qt5
Icon=harbour-myapp
Exec=harbour-myapp
Name=MyApp
Name[de]=MyApp