Re: [SailfishDevel] How to get GPS Location in QML (after installing QtPositioning packages to targets and emulator)

2013-10-30 Thread christopher . lamb
Hi Bolek Zitat von tw_bolek : BUT if I deploy to the emulator "by copying binaries" I still get an error message about missing libQt5Location.so.5 but WHY? I did install qt5-qtpositioning to the emulator and to the x86 target so the library should be there... libQt5Location.so

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-30 Thread christopher . lamb
Hi Bolek I also have nothing direct to do with Jolla, I am just a developer like you, but it is still a pleasure to help and to puzzle out how things work. I agree with much of what you say; but I think we should not forget that the Alpha is just that, an Alpha. That means that not everyt

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-30 Thread Artem Marchenko
Hi Bolek *I am not from Jolla, so that's just musings of yet another third party dev. * * * IMHO there are several different sub-issues: 1. RPM dependency installation system in general I think it's just wonderful that you app can declare what it needs and it just gets it 2. Positioning module n

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-30 Thread Caliste Damien
Hello, Le mardi 29 octobre 2013, tw_bolek a écrit : > the .pro file does not change anything.There is no trace of > "QtPositioning" in sailfishos/mersdk/targets/.../usr/lib/qt5, > neither for arm nor for x86 (emulator). I think that Christopher Lamb answered this. I'm using Qt Positioning in

[SailfishDevel] How to get GPS Location in QML (after installing QtPositioning packages to targets and emulator)

2013-10-30 Thread tw_bolek
Success, at last. Installing qtpositioning packages to both targets (using SDK Control Center), to the SDK (using zypper) and to the emulator (using zypper) finally did the job. It finally works and application can be deployed to the emulator "by copying binaries" and without any modifications

[SailfishDevel] How to get GPS Location in QML (after installing QtPositioning packages to targets and emulator)

2013-10-29 Thread tw_bolek
OK, so I did the following: - Using SDK Control Center I installed to both targets: qt5-qtpositioning, qt5-qtpositioning-devel, qt5-qtdeclarative-import-positioning - using zypper I installed to the Emulator the following: qt5-qtpositioning, qt5-qtdeclarative-import-positioning Did the sync, r

[SailfishDevel] How to get GPS Location in QML

2013-10-29 Thread tw_bolek
Chris, First of all, thank you very much for your help. However is there any valid reason why it is so complicated? Positioning is probably one of the most frequently used functions in smartphone applications. I'd understand that some 3rd party or less important modules are not included by

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-29 Thread christopher . lamb
Hi Bolek In my last post I hinted that my example yaml / spectacle file worked, but was not perfect. This evening on the train I was able to experiment further. I am now home, with a roast chicken bubbling in the oven, and a glass of cold white Rioja next to me, so I have time to post the

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-29 Thread christopher . lamb
Hi Bolek First of all you need to make sure that Positioning is correctly installed to the Emulator, to the SDK, and QtCreator is synched with the installation on the SDK. I have done this via the RPM yaml file. I am not sure that mine is entirely correct (as you will see from other posts

[SailfishDevel] How to get GPS Location in QML

2013-10-29 Thread tw_bolek
Hi Chris, >> So the import we need is Import QtPositioning 5.0 Unfortunately, "QtPositioning 5.0" gives "QML module not found" and it is underlined in red in QtCreator... Adding QT += positioning to the .pro file does not change anything.There is no trace of "QtPositioning" in sailfishos

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-28 Thread christopher . lamb
Hi Bolek that's of interest to me as well. I am at work, so I shouldn't spend too much time on this ... But I had a quick peak at the sources https://qt.gitorious.org/qt/qtlocation/source/64ee46398e7285a8cd30f483ab730eb87bf01b33:src/imports/positioning/positioning.cpp It looks to me that Posi

[SailfishDevel] How to get GPS Location in QML

2013-10-27 Thread tw_bolek
Hello list,   I am porting my Harmattan QML applications to Sailfish OS.  I simply need to get GPS Location.  In Qt4.8 / QtQuick1.1 it only took importing QtMobility.location and then using PositionSource.    In the latest SailfishOS SDK I tried importing QtLocation 5.0 but it is not found.  Pos