Re: [SailfishDevel] Daemons in app store. And/or other ways of getting activated on event/schedule

2013-12-29 Thread Andrey Kozhevnikov
creating cron rules can be more usable and easier On 29.12.2013 14:20, AL13N wrote: IMHO, we should contribute such stuff to mer/nemo (possibly using dbus) and make an app for it here. daemons as apps seems ludicrous to me... Hi All If I read Harbour FAQ correctly, you are not allowed to

Re: [SailfishDevel] How to handle app settings?

2013-12-29 Thread Bob Jelica
See my previous mail. I use that in QML all the time. I guess it’s up to you, as an app developer, to decide what fits your app. In spirit with agile software development, I start of with the easies possible solution, with as little friction as possible and take it from there. The QSettings

Re: [SailfishDevel] Boosted process (pid=721) was terminated due to signal 11

2013-12-29 Thread Luciano Montanaro
I had crashes as well... My code looks similar to yours, and I experienced the crash as well (in the emulator, I suspected because there is no GPS on it, but...) I found out that I needed to check for the positionInfoSource being valid: Relevant snippets here:

Re: [SailfishDevel] Boosted process (pid=721) was terminated due to signal 11

2013-12-29 Thread christopher . lamb
Ciao Luciano Thanks for the ideas. I agree this is most likely down to a missing real gps on the emulator. If that is the case then it would be fantastic if the emulator shipped with a GPS emulator (like the one on the Nokia simulator). My constructor now looks like this:

Re: [SailfishDevel] Daemons in app store. And/or other ways of getting activated on event/schedule

2013-12-29 Thread Marcin M.
And for example phone speaker switcher as on Maemo (though it would be better if it was provided by Jolla), changing mac address on startup, etc. etc. -- Marcin 2013/12/29 Alejandro Exojo s...@badopi.org El Saturday 28 December 2013, Artem Marchenko escribió: What would be the sailfish way

Re: [SailfishDevel] PkCon on Emulator: Empty Reply from Server

2013-12-29 Thread Andrey Kozhevnikov
you can use export LANG=C to get output in english and for bug: just change dns of your isp connection / try to ping http://releases.sailfishos.org On 29.12.2013 21:38, christopher.l...@thurweb.ch wrote: Hi All Ever so often, when I try to install a package to the Emulator via PkCon I get

[SailfishDevel] Qt Creator Yaml file editor loses new entries

2013-12-29 Thread christopher . lamb
Hi All If add a new dependency to the a projects .yaml file via the QtCreator yaml file editor, then immediately hit cmd S to save the changes, then more often than not the new entry vanishes, and i have to repeat the process. So far I have not established exactly what pattern of

Re: [SailfishDevel] How to handle app settings?

2013-12-29 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am trying to use the QSettings wrapper, as proposed by Bob Jelica. Here is what I did in my main cpp: #include sailfishapp.h #include settings.h int main(int argc, char *argv[]) { // SailfishApp::main() will display qml/template.qml, if

[SailfishDevel] Problem with QQmlListProperty

2013-12-29 Thread Markus Svensson
Hi guys, I'm trying to expose my database layer to QML via a QQmlListProperty - however I'm running into problems... I've probably set it up wrong - but I can't figure out where. My C++ skills are a bit rusty after years and years of Java work... :) This is my setup code:

Re: [SailfishDevel] How to handle app settings?

2013-12-29 Thread Bob Jelica
That’s just a warning, I have it as well, but never had problems nor time to investigate further. //bob On 29 Dec 2013, at 21:48, Franck Routier (perso) a...@mecadu.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am trying to use the QSettings wrapper, as proposed by Bob

Re: [SailfishDevel] How to handle app settings?

2013-12-29 Thread Franck Routier (perso)
Le 29/12/2013 21:53, Bob Jelica a écrit : That’s just a warning, I have it as well, but never had problems nor time to investigate further. Ok, thanks a lot. Franck ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to handle app settings?

2013-12-29 Thread Thomas Tanghus
On Sunday 29 December 2013 21:48:18 Franck Routier wrote: Everything compiles fine, but on deployment, I get these messages: [W] QCoreApplication::applicationDirPath:1906 - QCoreApplication::applicationDirPath: Please instantiate the QApplication object first I use: int main(int argc, char

[SailfishDevel] RPM-packaging for Python/QML applications

2013-12-29 Thread Osmo Salomaa
Hello, Does anyone have an example of RPM-packaging for a PyOtherSide or pure QML application? I'm not familiar with RPM. In the case of PyOtherSide should I write YAML or directly a spec file? Looking at a couple non-C++ Sailfish applications on GitHub, I see them using minimal C++

[SailfishDevel] Order of app icons in the launcher. What controls it? Changeable?

2013-12-29 Thread Artem Marchenko
Hi all Rearranging apps manually it tedious while with three screens of apps you have to do it somehow. I am thinking about a small utility app that would sort the icons alphabetically or by some criteria (e.g. app names known to be about social networks to be close to each other). What is

Re: [SailfishDevel] Order of app icons in the launcher. What controls it? Changeable?

2013-12-29 Thread Thomas Perl
Hi, On 30 Dec 2013, at 02:15, Artem Marchenko artem.marche...@gmail.com wrote: Rearranging apps manually it tedious while with three screens of apps you have to do it somehow. I am thinking about a small utility app that would sort the icons alphabetically or by some criteria (e.g. app names

Re: [SailfishDevel] RPM-packaging for Python/QML applications

2013-12-29 Thread Matt Austin
Hi Osmo, On 30 December 2013 09:01, Osmo Salomaa otsal...@iki.fi wrote: Does anyone have an example of RPM-packaging for a PyOtherSide or pure QML application? I'm not familiar with RPM. In the case of PyOtherSide should I write YAML or directly a spec file? I haven't tried this myself

Re: [SailfishDevel] QtLocation/Positioning Simulator plugin on Emulator

2013-12-29 Thread christopher . lamb
Hi Bob A nmeaSource would help with PositionSource ( I have one of those as well), but won't help with a SatelliteSource. PositionSource gives me location information (the GPS coordinates, altitude etc). SatelliteSource gives me information about the number of Satellites in view and in