On 08/08/2013 12:38 AM, Aaron McCarthy wrote:
>
> On Wed, 7 Aug 2013 05:34:14 PM christopher.l...@thurweb.ch wrote:
>
> > > "I believe the goal for QtLocation to be included with Qt is 5.2..."
>
> >
>
> > But isn't QtLocation included in the SailfishAlpha 2 ?
>
> >
>
> > I am confused on this: In the Alpha2 toolchain I find
>
> >
> /Users/christopherlamb/SailfishOSAlpha5/mersdk/targets/SailfishOS-i486-x86/u
>
> > sr/lib/qt5/qml/QtLocation.
>
> >
>
> > The SDK Control Center also shows qt5-qtlocation is installed in the
>
> > toolchain.
>
>  
>
> Qt Location will be included in the SDK.
>

That's great to hear, as many apps use location nowadays.


> > On the Emulator, "zypper se location" showed qt5-qtlocation was not
>
> > installed, so I ran "zypper in qt5-qtlocation".
>
> >
>
> > However when I ran my app, I get the error
>
> > "
>
> >
> file:///opt/sdk/landedQt5_21/usr/share/landedQt5_21/otherqml/GPSApp.qml:6:1:
>
> > module "QtLocation" is not installed
>
> > import QtLocation 5.0
>
> > "
>
>  
>
> qt5-qtlocation includes only the C++ library. To use with QML you will
> also need:
>
>  
>
> qt5-qtdeclarative-import-location the QML import plugin
>
>  
>
> and at least one geoservices plugin, either
> qt5-qtlocation-plugin-geoservices-nokia or
> qt5-qtlocation-plugin-geoservices-osm
>

Possibly something for the Mer/Nemo community to step up, but I'll
mention it here.
I'd recommend to add/include support for GPSd or simply serial NMEA too.
That way it would be possible to hook up a bluetooth GPS (through USB-BT
dongle) or a USB or RS232C GPS to the virtual machine and have a real,
reasonably high accuracy, location stream available.

Cheers

Thomas
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to