[SailfishDevel] Fwd: Re: QGeoSatelliteInfoSource in Sailfish

Aaron McCarthy aaron.mccarthy at jolla.com
Tue Jan 21 01:26:13 UTC 2014


On Mon, 20 Jan 2014 08:10:19 dcaliste at free.fr wrote:
> À Sun Jan 19 2014 22:32:47 GMT+0100 (CET), christopher.lamb at thurweb.ch a
> écrit 
> >1) The Compass Azimuth shows the direction the top of the device is  
> >pointing to (so it will change as your rotate the device).
> >
> >2) The PositionSource shows a direction based on the direction the  
> >device is travelling (irrespective of where the device is pointing).
> >
> >http://qt-project.org/doc/qt-5/qgeopositioninfo.html
> Sorry my explanation was not clear and lacking the question. So the two
> things you're speaking about (compas and direction) are indeed the two
> distinctions I was doing. My question is : ok, the compas is in QtSensor,
> but the direction is missing from QGeoPositionInfo, the method
> hasAttribute() on a valid GPS fix returns false, always. How to get the
> direction? Should one calculate it by hand ?

This is a bug in the Geoclue positioning plugin in Qt. I have filed a bug in 
the Qt bug tracker: https://bugreports.qt-project.org/browse/QTBUG-36298


Aaron McCarthy

More information about the Devel mailing list