[SailfishDevel] QGeoSatelliteInfoSource in Sailfish

Marcel marcel at aliquis.de
Sun Jan 12 15:18:53 UTC 2014


Hi Chris,

Thanks for the quick response on a sunday... I've already seen that there is 
no GPS in the Emulator, but since Friday I have my own Jolla device :)

As first project I'm trying to create a simple app showing the GPS infos 
similiar to "GPS Info Qt" on Symbian.

QML PositionSource (and in C++ QGeoPositionInfoSource) is working without 
problems on my real device (besides the accuracies are the same as stated in 
my first mail), so I can access the hardware, but there seems to be something 
missing for the SatelliteInfoSource.

Greetings,
Marcel

Am Sonntag, 12. Januar 2014 schrieb christopher.lamb at thurweb.ch:
> Hoi Marcel
> 
> Good to see a fellow Sailfish GPS hacker at work.
> 
> I am fighting with PositionSource (in QML), but have not got as far as  
> SatelliteInfoSource on a real device - but I hope to soon, as the app  
> I am porting has a C++ plugin to expose SatelliteInfoSource to QML.
> 
> You don't state what target you are using.
> 
> If your target is the Emulator, then I don't think you will be able to  
> get SatelliteInfoSource working. Evidently the Emulator has no real  
> GPS hardware, and as far as I know there is not (yet) a working  
> simulator plugin that would provide SatelliteInfoSource.
> 
> You should find a thread on this topic in this mailing-list from  
> around Christmas time.
> 
> Grüsse
> 
> Chris
> 
> 
> Zitat von Marcel <marcel at aliquis.de>:
> 
> > Hi,
> >
> > I'm trying to get satellite information using QGeoSatelliteInfoSource, but 
I
> > cannot create a default source. Is it not implemented in Sailfish? I  
> > know that
> > Sailfish is using Geoclue, and there is a commit in Qt for supporting the
> > Geoclue Satellite interface:
> >
> > 
https://qt.gitorious.org/qt/qtlocation/commit/e09d297894a8b4ff9b06317169b5a9eb97aa7162
> >
> > Is this missing in the Sailfish-Qt-packages? Is the satellite interface
> > missing in the Sailfish-Geoclue? Is it another problem? Can I access the
> > satellite information in another way?
> >
> > Another small partly related problem I found then using the GPS is the
> > following: If you use QGeoPositionInfoSource the VerticalAccuracy and the
> > HorizontalAccuracy are always the same, is this normal behaviour?
> >
> > Greetings,
> > Marcel
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> >
> 
> 
> 


More information about the Devel mailing list