[SailfishDevel] Setting application screen orientation from C++

2014-07-17 Thread Piotr Tworek
Hi, Is there a way to lock application screen orientation to landscape directly from Qt/C++ code? I know it's possible from QML, but I can't find any docs how the same can be done from C++. /ptw ___ SailfishOS.org Devel mailing list To unsubscribe, plea

Re: [SailfishDevel] Fwd: QtCreator issues

2014-07-17 Thread Stijn Devriendt
Hi Juha, Thanks for taking the time to debug this. I guess the following command could be used to find differences between the 2 versions: find ~/SailfishOS -type f -executable -exec file {} \; | grep ELF | cut -d: -f1 | sort | xargs ldd > versionX Thanks, Stijn On Thu, Jul 17, 2014 at 3:4

Re: [SailfishDevel] How to get dconf list of sub-items with MGConfItem?

2014-07-17 Thread Andrey Kozhevnikov
done with: https://github.com/nemomobile/mlite/pull/18 https://github.com/nemomobile/nemo-qml-plugin-configuration/pull/6 17.07.2014 22:12, Mohammed Hassan пишет: On Wed, Jul 16, 2014 at 06:22:58PM +0600, Andrey Kozhevnikov wrote: showing child items is not implemented, only child dirs function

Re: [SailfishDevel] How to get dconf list of sub-items with MGConfItem?

2014-07-17 Thread Andrey Kozhevnikov
sure i'm planning that :) 17.07.2014 22:12, Mohammed Hassan пишет: On Wed, Jul 16, 2014 at 06:22:58PM +0600, Andrey Kozhevnikov wrote: showing child items is not implemented, only child dirs function is available. if you're interested i can share class from my project replacing MGConfItem Do y

Re: [SailfishDevel] How to get dconf list of sub-items with MGConfItem?

2014-07-17 Thread Mohammed Hassan
On Wed, Jul 16, 2014 at 06:22:58PM +0600, Andrey Kozhevnikov wrote: > showing child items is not implemented, only child dirs function is > available. > if you're interested i can share class from my project replacing MGConfItem Do you feel like submitting a PR against mlite/MGConfItem [1] that ad

Re: [SailfishDevel] Is support for commercial apps a TABOO subject?

2014-07-17 Thread Marcin M.
When the Harbor becomes open for paid apps, will we be permitted to use nemo-qml-plugin-configuration? Should we then put the apps' settings into the "Settings" app or should they be handed inside the app? -- Marcin 2014-05-29 9:22 GMT+02:00 Giuliettasw : > Another cool thing could be possibili

Re: [SailfishDevel] Installing powertop failed - Failed to obtain authentification

2014-07-17 Thread Kimmo Lindholm
>Fatal error: Failed to obtain authentification In 1.0.8.19 you need to use pkcon as root (devel-su) From: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Steffen Förster Sent: 16. heinäkuuta 2014 21:27 To: devel@lists.sailfishos.org Subject: [Sailf

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
Thanks. I worked it around by installing qt5 devtools and qmake and hardcoding its path. Easy but works like charm. -- Marcin 2014-07-17 11:52 GMT+02:00 Andrey Kozhevnikov : > you can login [1] to Mer VM and do what you want manually > > [1] https://sailfishos.org/develop-faq.html > > 17.07.20

Re: [SailfishDevel] Fwd: QtCreator issues

2014-07-17 Thread Juha Kallioinen
On 17.07.2014 00:41, Stijn Devriendt wrote: Hi Juha, Been debugging a bit more until I got this: Breakpoint 1, 0x7fffeb54bd40 in QTime::QTime(int, int, int, int)@plt () from /usr/lib64/libkdecore.so.5 (gdb) bt #0 0x7fffeb54bd40 in QTime::QTime(int, int, int, int)@plt () from /usr/lib

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Andrey Kozhevnikov
you can login [1] to Mer VM and do what you want manually [1] https://sailfishos.org/develop-faq.html 17.07.2014 15:38, Marcin M. ?: And how can I run the mer's lupdate & lrelease from terminal? -- Marcin 2014-07-17 11:36 GMT+02:00 Marcin M. >: Thanks

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
And how can I run the mer's lupdate & lrelease from terminal? -- Marcin 2014-07-17 11:36 GMT+02:00 Marcin M. : > Thanks > > 1. The problem is that Tools/External/lupdate doesn't do anything. I > created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and > the pl translation file d

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl translation file didn't change. My .pro looks like that: TARGET = harbour-myapp CONFIG += sailfishapp SOURCES += src/harbour-myapp.cpp \

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Luca Donaggio
1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable

[SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Sh

Re: [SailfishDevel] Installing powertop failed - Failed to obtain authentification

2014-07-17 Thread Andrey Kozhevnikov
ssu flavour sales <- in terminal and do not touch SSU switch in devmode. 17.07.2014 00:26, Steffen Förster ?: Hi I have to install powertop on my Jolla (my app was rejected). The install explanation on https://together.jolla.com/question/13243/my-app-got-rejected-to-store-because-of-high-p

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-17 Thread Marcin M.
I did a maybe less dirty workaround yesterday: function openWelcomeDialog() { console.log("working!") if (status == PageStatus.Active) { mainPage.statusChanged.disconnect(openWelcomeDialog) var component = Qt.createComponent("WelcomeDialog.qm

[SailfishDevel] Installing powertop failed - Failed to obtain authentification

2014-07-17 Thread Steffen Förster
Hi I have to install powertop on my Jolla (my app was rejected). The install explanation on https://together.jolla.com/question/13243/my-app-got-rejected-to-store-because-of-high-power-consumption-how-to-debug-problems/#13247 failed on my Jolla. I should execute these three steps: $ ssu ar