Hi Xiaodong,

> From the Qt Mobility, it seems geoclue isn't connected to the Location API as 
> a backend, from the master branch I found 
> qgeopositioninfosource_geocluemaster.cpp, 
> qgeopositioninfosource_geocluemaster_p.h which implement the connection work, 
> I don't know if I'm right, do we have to include this codes to get GPS data 
> from 

The backend 'connection' is in qgeopositioninfosource,cpp, see for:
QGeoPositionInfoSource *QGeoPositionInfoSource::createDefaultSource(QObject 
*parent)

> geoclue thro Qt Mobility location API?
> But the file's description said it's not part of QT API, and may change from 
> version to version without notice, or even be removed...

The qgeopositioninfosource_geocluemaster_p.h file is a private header and hence 
it has the default disclaimers on it.
It is not meant to be used directly from apps, but rather use the public 
interface in qgeopositioninfosource.h.

cheers,
Juha


________________________________________
From: [email protected] [[email protected]] on behalf of 
ext Wang, Xiaodong A [[email protected]]
Sent: Thursday, June 09, 2011 7:00 PM
To: Leibowitz, Michael
Cc: [email protected]
Subject: Re: [MeeGo-dev] How QTMobility connect to Geoclue

Dear Michael,
From the Qt Mobility, it seems geoclue isn't connected to the Location API as a 
backend, from the master branch I found 
qgeopositioninfosource_geocluemaster.cpp, 
qgeopositioninfosource_geocluemaster_p.h which implement the connection work, I 
don't know if I'm right, do we have to include this codes to get GPS data from 
geoclue thro Qt Mobility location API?
But the file's description said it's not part of QT API, and may change from 
version to version without notice, or even be removed...


Thanks a lot!

Best Regards,
Xiaodong Wang 王晓东
Application Engineer
Atom ISV/Application Enabling
Tel: 86-10-5751-1745
Mobile: 13164292649
Email: [email protected]


-----Original Message-----
From: Leibowitz, Michael [mailto:[email protected]]
Sent: Wednesday, June 08, 2011 8:44 PM
To: Wang, Xiaodong A
Cc: [email protected]
Subject: Re: [MeeGo-dev] How QTMobility connect to Geoclue

2011/6/8 Wang, Xiaodong A <[email protected]>:
> Dear all,
> Would you please help give some clue on this question?
> It seems location API doesn’t work, do we need some extra work to implement
> this function?

Can you be more specific?  What test are you using to indicate that it
doesn't work?  What platform are you testing on?

--
Michael Leibowitz
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to