<html><head></head><body>I've seen that. That's a good idea.<br><br><div class="gmail_quote">On 9 August 2017 10:59:58 CEST, Jasem Mutlaq <mutlaqja@ikarustech.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">I found a relevant Qt bug: <a href="https://bugreports.qt.io/browse/QTBUG-43435">https://bugreports.qt.io/browse/QTBUG-43435</a><div><br /></div><div>Maybe we should voice our concern there to help it move forward?</div></div><div class="gmail_extra"><br /><div class="gmail_quote">On Wed, Aug 9, 2017 at 11:36 AM,  <span dir="ltr"><<a href="mailto:valentin@boettcher.cf" target="_blank">valentin@boettcher.cf</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Yes QT uses the old API.<div><div class="h5"><br /><br /><div class="gmail_quote">On 9 August 2017 10:32:35 CEST, Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com" target="_blank">mutlaqja@ikarustech.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">where-am-i worked for me, it was in the geoclue-2.0 package here. It appears that geoclue-test-gui is for the older package. QtPositioning uses DBus to communicate, but I wonder if there was a change in DBus calls from v0.1.2 to 2.0+? At any rate, since we support multiple Operating Systems, we can't rely on geoclue directly we have to use QtPositioning, but if it's broken in 5.9 still then we have to delay until it is fixed.</div><div class="gmail_extra"><br /><div class="gmail_quote">On Wed, Aug 9, 2017 at 10:46 AM, Valentin Boettcher <span dir="ltr"><<a href="mailto:valentin@boettcher.cf" target="_blank">valentin@boettcher.cf</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br />
<br />
It may be, that my system differs from yours, bit I geoclue working.<br />
<br />
I would suggest, that you take the same steps as I did and try to build<br />
it from source. They also have a demo `where-am-i` in the demo folders<br />
which produced the following output for me:<br />
<br />
Client object: /org/freedesktop/GeoClue2/Clie<wbr />nt/1<br />
<br />
New location:<br />
Latitude:    51.034122°<br />
Longitude:   13.739034°<br />
Accuracy:    142.931009 meters<br />
Timestamp:   Wed 09 Aug 2017 09:41:21 AM CEST (1502264481 seconds since the Epoch)<br />
<br />
New location:<br />
Latitude:    51.034137°<br />
Longitude:   13.739026°<br />
Accuracy:    141.526416 meters<br />
Speed:       0.197150 meters/second<br />
Heading:     116.865814°<br />
Timestamp:   Wed 09 Aug 2017 09:41:30 AM CEST (1502264490 seconds since<br />
the Epoch)<br />
<br />
<br />
It seems that QT uses an older version of the library, but it is really<br />
quite simple to use it directly, though annoying for portability<br />
reasons.<br />
<br />
Well, however:<br />
<a href="https://www.freedesktop.org/wiki/Software/GeoClue/#index4h1" rel="noreferrer" target="_blank">https://www.freedesktop.org/wi<wbr />ki/Software/GeoClue/#index4h1</a> is the key.<br />
<br />
I'll have to test QT Location services.<br />
<br />
Cheers.<br />
<div class="m_4314123432690273414HOEnZb"><div class="m_4314123432690273414h5"><br />
Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com" target="_blank">mutlaqja@ikarustech.com</a>> writes:<br />
<br />
> Hello all,<br />
><br />
> So I tried recently to introduce QtPositioning into KStars location dialog<br />
> so that it can fetch geo-location from Qt from whatever backend system<br />
> supported on the operating system.<br />
><br />
> It's already used in KStars Lite to fetch location info from Android.<br />
> However, on desktop Linux, Qt Positioning relies on geoclue. I have it<br />
> installed right here, but I can't seem to get any position info on it. I<br />
> used geoclue-test-gui but that just threw errors even though I installed<br />
> several position providers.<br />
><br />
> Anybody has any clue how to diagnose the issue here? I really would like to<br />
> make location-fetching part of the upcoming KStars release!<br />
<br />
</div></div></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div class="m_4314123432690273414gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards,<br />Jasem Mutlaq<br /></div><div><br /></div></div></div>
</div>
</blockquote></div><br /></div></div><span class="HOEnZb"><font color="#888888">
-- <br />
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></div></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards,<br />Jasem Mutlaq<br /></div><div><br /></div></div></div>
</div>
</blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>