<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ok, clearing everything and trying again seems to have worked. Guess something got stuck somewhere along the line. I still have to test if geofencing will work with the app in the background though. Thanks!<div class=""><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">---</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Israel Brewster<br class="">Software Engineer<br class="">Alaska Volcano Observatory <br class="">Geophysical Institute - UAF <br class="">2156 Koyukuk Drive <br class="">Fairbanks AK 99775-7320</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Work: 907-474-5172<br class="">cell:  907-328-9145</div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Mar 6, 2020, at 9:30 AM, ekke <<a href="mailto:ekke@ekkes-corner.org" class="">ekke@ekkes-corner.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="moz-cite-prefix">you should add something like this into your info.plist:</div><div class="moz-cite-prefix"><br class=""></div><div class="moz-cite-prefix"><pre style="margin: 0px; text-indent: 0px;" class=""><span style="color: rgb(128, 128, 0);" class=""><key></span>NSLocationWhenInUseUsageDescription<span style="color: rgb(128, 128, 0);" class=""></key></span></pre><pre style="margin: 0px; text-indent: 0px;" class=""><span style="color: rgb(128, 128, 0);" class=""><string></span>$(PRODUCT_NAME)<span style="color: rgb(192, 192, 192);" class=""> </span>uses<span style="color: rgb(192, 192, 192);" class=""> </span>Location<span style="color: rgb(192, 192, 192);" class=""> </span>to<span style="color: rgb(192, 192, 192);" class=""> </span>get<span style="color: rgb(192, 192, 192);" class=""> </span>Weather<span style="color: rgb(192, 192, 192);" class=""> </span>Data<span style="color: rgb(192, 192, 192);" class=""> </span>for<span style="color: rgb(192, 192, 192);" class=""> </span>current<span style="color: rgb(192, 192, 192);" class=""> </span>Location<span style="color: rgb(128, 128, 0);" class=""></string></span></pre><pre style="margin: 0px; text-indent: 0px;" class=""><span style="color: rgb(192, 192, 192);" class=""></span><span style="color: rgb(128, 128, 0);" class=""><key></span>“NSLocationAlwaysAndWhenInUseUsageDescription”<span style="color: rgb(128, 128, 0);" class=""></key></span></pre><pre style="margin: 0px; text-indent: 0px;" class=""><span style="color: rgb(192, 192, 192);" class=""></span><span style="color: rgb(128, 128, 0);" class=""><string></span>$(PRODUCT_NAME)<span style="color: rgb(192, 192, 192);" class=""> </span>uses<span style="color: rgb(192, 192, 192);" class=""> </span>Location<span style="color: rgb(192, 192, 192);" class=""> </span>to<span style="color: rgb(192, 192, 192);" class=""> </span>get<span style="color: rgb(192, 192, 192);" class=""> </span>Weather<span style="color: rgb(192, 192, 192);" class=""> </span>Data<span style="color: rgb(192, 192, 192);" class=""> </span>for<span style="color: rgb(192, 192, 192);" class=""> </span>current<span style="color: rgb(192, 192, 192);" class=""> </span>Location<span style="color: rgb(128, 128, 0);" class=""></string></span></pre><div class="moz-cite-prefix"><br class=""></div><div class="moz-cite-prefix">Am 06.03.20 um 19:08 schrieb Israel Brewster:<br class=""></div><blockquote type="cite" cite="mid:CB08138F-8541-40F1-8D18-90676EDB92BC@alaska.edu" class="">Simple question: how do I get Qt Positioning (C++) to work on iOS (current versions of everything)? I tried the code on the Qt Positioning page, and apparently the various createDefaultSource() calls all worked (I tried both QGeoPositionInfoSource and QGeoAreaMonitorSource), in that they returned non-zero pointers, but from what I can tell nothing happens after calling startUpdates(), requestUpdate(), or startMonitoring(), as appropriate for the source in question - no callbacks are ever called, including the error callback. Checking the result of error() on the source after I create it returns 3, which appears to be NoError. So there is no error, but I never seem to get any data either.<div class=""><br class=""></div><div class="">I would note that iOS never asks me if I want to allow the program to use location data, which could account for the issue, but nothing in the documentation that I can find tells me how to get the OS to request this permission. Some googling finds an old thread on the subject, that refers to several keys in the Info.plist, but I tried adding those keys (and deleting the app from the phone/re-installing), and that didn’t seem to make any difference. What am I missing?</div><br class=""><div class=""><div dir="auto" class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">---</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Israel Brewster<br class="">Software Engineer<br class="">Alaska Volcano Observatory <br class="">Geophysical Institute - UAF <br class="">2156 Koyukuk Drive <br class="">Fairbanks AK 99775-7320</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Work: 907-474-5172<br class="">cell:  907-328-9145</div></div></div><br class=""><br class=""><fieldset class="mimeAttachmentHeader"></fieldset><pre class="moz-quote-pre" wrap="">_______________________________________________
Interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Interest@qt-project.org">Interest@qt-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.qt-project.org/listinfo/interest">https://lists.qt-project.org/listinfo/interest</a>
</pre></blockquote><br class="">_______________________________________________<br class="">Interest mailing list<br class=""><a href="mailto:Interest@qt-project.org" class="">Interest@qt-project.org</a><br class=""><a href="https://lists.qt-project.org/listinfo/interest" class="">https://lists.qt-project.org/listinfo/interest</a></div></div></blockquote></div><br class=""></div></body></html>