[SailfishDevel] GCompris

2015-04-22 Thread Alex Smirnoff
Hi. I am glad to announce that, thanks to the main developers from GCompris community, Gcompris could be now started on Jolla device. More over, it is almost nothing prevents from merging Sailfish support in GCompris master branch. I have plan to place rpm on openrepos in short time to make it a

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Andrey Kozhevnikov
This is my solution for you: QLocale locale("fi_FI"); QLocale::setDefault(locale); translator.load(locale, "sailfishsilica-qt5", "", "/usr/share/translations", ""); 23.04.2015 08:55, Dmitriy Purgin пишет: Hi, thanks for reply. I do install custom translations with QApplication

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
Hi, thanks for reply. I do install custom translations with QApplication::installTranslator() and it does work on Sailfish but as I mentioned before formatting facilities and system messages stay in OS language. Regards 2015-04-23 0:07 GMT+06:00 Ove Kåven : > Den 22. april 2015 18:56, skrev Dm

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Ove Kåven
Den 22. april 2015 18:56, skrev Dmitriy Purgin: $ LANG=ru_RU invoker --type=silica-qt5 appbin does not change the app locale, it behaves as if there were no LANG=ru_RU at all. So does QLocale::setDefault(). I think setting environment variables and calling QLocale::setDefault only works if Q

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
Hi, thanks for reply! I did a quick test on the emulator, it does work without invoker, but the app just uses system locale if launched via invoker. I think it has something to do with Qt libraries being already preloaded when using booster. I guess my question is wrong in its formulation. Actua

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Andrey Kozhevnikov
oh sorry, then you can use qputenv function in your main cpp file 22.04.2015 16:38, Dmitriy Purgin пишет: Hi Andrey, I was referring to launching the application with .desktop files. As you surely know these reside in /usr/share/applications and are used to display applications to user, so th

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Pekka Vuorela
ke, 2015-04-22 kello 14:23 +0600, Dmitriy Purgin kirjoitti: > Hi all, > > > I'm trying to make a .desktop file that launches an application with > customized LANG environment variable. I came up with the > following .desktop file (irrelevant entries removed): > > > [Desktop Entry] > Type=Applic

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
Hi Andrey, I was referring to launching the application with .desktop files. As you surely know these reside in /usr/share/applications and are used to display applications to user, so that the user could run the application by clicking on its icon in Launcher view. I'm talking about changing envi

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Andrey Kozhevnikov
In Qt Creator: Projects - Run - Run Environment http://i.imgur.com/FArKbn2.png 22.04.2015 13:23, Dmitriy Purgin пишет: Hi all, I'm trying to make a .desktop file that launches an application with customized LANG environment variable. I came up with the following .desktop file (irrelevant ent

[SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
Hi all, I'm trying to make a .desktop file that launches an application with customized LANG environment variable. I came up with the following .desktop file (irrelevant entries removed): [Desktop Entry] Type=Application X-Nemo-Application-Type=no-invoker Exec=app-launcher.sh app-launcher.sh is