[SailfishDevel] applicationDisplayName and applicationName
stol at bredband.net
stol at bredband.net
Fri Mar 20 11:49:44 UTC 2015
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
And I do
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 ?
(in the emulator i
can see that the emulator is reading the application display name
desktop file correctly
because when i remove the application is says
MyApp.
Or should i use other function calls to "read" the entries in
the desktop file ?
/Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150320/39bc037b/attachment.html>
More information about the Devel
mailing list