Re: [SailfishDevel] applicationDisplayName and applicationName

2015-03-27 Thread Alfonso Martone
> 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

Re: [SailfishDevel] applicationDisplayName and applicationName

2015-03-20 Thread Matthias Fehring
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

[SailfishDevel] applicationDisplayName and applicationName

2015-03-20 Thread stol
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