[SailfishDevel] applicationDisplayName and applicationName

Alfonso Martone alfonso.martone at gmail.com
Fri Mar 27 18:53:58 UTC 2015


>     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. My main() starts with something like:

    QString dispname("myAPP");
    QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,
argv));
    app->setApplicationName(dispname);





More information about the Devel mailing list