[Interest] Qt positioning

maitai maitai at virtual-winds.org
Wed Aug 19 20:43:36 CEST 2015


Very probably you know it already, you need to put that in your 
info.plist file:

	<key>NSLocationAlwaysUsageDescription</key>
	<string>Location information needed for whatever reason..</string>

Le 19-08-2015 19:54, Jason H a écrit :
>> Sent: Wednesday, August 19, 2015 at 5:33 AM
>> From: "Blasche Alexander" <alexander.blasche at theqtcompany.com>>What is 
>> the status of this? I'm at a point now where the feature using 
>> positioning is on the radar.
>> 
>> An invalid PositionSource is an indication that you don't even load 
>> the Position plugin/engine. In such scenarios you will never get any 
>> updates. I suggest you start testing the issue by using one of the 
>> provided > position examples (e.g. geoflickr or weatherinfo).
>> 
>> The provided QML is just not enough to figure out why it might no load 
>> and indeed it may never be enough as it may depend on how you build 
>> and your application. Please don't post your entire application 
>> (unless it > is a very very small test case app or you are referring 
>> to an existing example) either though.
>> 
>> Check that you are adding Qt+= positioning or otherwise the required 
>> plugins may not even be deployed.
>  
> Well it works for Android. On IOS, I just get NaN, NaN
> 
> Everytime I relaunch the app in Creator, it clears the Location
> permission. Location Services are on. I set this to "Always" for my
> app. No result.
> 
> Are there any special notes for iOS?
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list