[SOLVED] QtLocation support for ios
-
is the QtLocation addon supposed to work under ios ?
i got the module from git ( git clone git://gitorious.org/qt/qtlocation.git )
and then try to build it:
@~/Qt5.2.0/5.2.0-beta1/ios_armv7/bin/qmake .
Checking for geoclue... no
Checking for geoclue-satellite... no
Checking for gypsy... no@which doesn't look promissing..
make and make install does a lot of work without trowing an error though..
my application compiles but when i run it on the iphone@qDebug() << QGeoPositionInfoSource::availableSources();@
returns: ()
and
@QGeoPositionInfoSource::createDefaultSource(this);@
returns NULLis there something i'm missing ?
or is it just not supported on ios ? -
[quote author="clogwog" date="1383524305"]
is there something i'm missing ?
or is it just not supported on ios ? [/quote]
not yet supported, not even on Android which port is even more mature than the iOS port.
QtLocation support is planned for Qt 5.3 in Adnroid, so i wouldn't expect it before in iOS either. -
@git branch -a
- dev
remotes/origin/HEAD -> origin/dev
remotes/origin/dev
remotes/origin/stable
remotes/origin/wip/experimental_scenegraphing
remotes/origin/wip/qa
@
so it looks like i'm already using the development branch. @CuteiOS what branch can i look at for the latest ?
- dev
-
It's stuck in review because of test failures on OSX (it's an iOS/OSX plugin). You can test it from here:
-
looks like:
@~/Qt5.2.0/5.2.0-beta1/ios_armv7/bin/qmake .
Checking for geoclue... no
Checking for geoclue-satellite... no
Checking for gypsy... no@is expected output for ios since it is using a plugin called corelocation
so QGeoPositionInfoSource::availableSources() should at least return
["corelocation"]however it does not, not even with the changes applied.