[Interest] Problems getting QGeoPositionInfoSource working under iOS
alexander.blasche at qt.io
Wed Mar 20 12:55:20 CET 2019
Here are a few hints what you might want to check upon.
Do you use cmake or qmake? cmake does not work with static libs. You must use qmake as it works out what dependencies have to be build into binary.
I suggest you go through your binaries and first verify that you have the relevant qtposition plugin in your set of binaries. It would be under
Qt/5.12.0/ios/plugins/position/libqtposition_cl.a. As second step ensure that this plugin is part of your applications link line. Last but not least ensure that your application's project file specifically mentions positioning as dependency.
From: Roman Wüger <roman.wueger at gmx.at>
Sent: Wednesday, 20 March 2019 10:07:52 AM
To: Alex Blasche
Cc: Qt Project MailingList
Subject: Re: [Interest] Problems getting QGeoPositionInfoSource working under iOS
I use the prebuilt binaries from the online Installer.
> Am 20.03.2019 um 08:51 schrieb Alex Blasche <alexander.blasche at qt.io>:
>> From: Interest <interest-bounces at qt-project.org> on behalf of Roman Wüger <roman.wueger at gmx.at>
>> I try to get QGeoPositionInfoSource::createDefaultSource(this); working under iOS 12.1.2 with Qt 5.11.x.
>> But the function returns always a null pointer.
> In general this should work out of the box unless there is a bug...
> How did you obtain the binaries? Did you build them by yourself or did you use binaries obtained via the installer. If you build by yourself please ensure that
> is built into your binaries.
> Interest mailing list
> Interest at qt-project.org
More information about the Interest