[Interest] Embedding a map in a QML UI on Android and iOS
Federico Buti
fed.buti at gmail.com
Sun Dec 27 02:24:14 CET 2015
Hi Dirk,
maybe you can take a look at Qt Location
<http://doc.qt.io/qt-5/qtlocation-index.html> and see if it fits your use
case. It is currently available as a tech preview in Qt 5.5 but it should
be officially released with the next - currently in beta - release, i.e. Qt
5.6.
Cheers,
F.
On 26 December 2015 at 21:06, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> I've been searching for quite a while and my head is spinning. :-/
>
> How would a QML application on Android and iOS display a map - preferably
> a Google map, but I'll work with something else that has a satellite view
> if need be.
>
> I tried QWebView so that I could open an embedded Google map in it. But
> when I try this based on the examples I was able to find I am told
> "QtWebView is not installed" when trying to run the app.
>
> What I have is
>
> import QtQuick 2.3
> import QtWebView 1.0
> ...
>
> Rectangle {
> ...
> WebView {
> id: ...
> url: "https://maps.google.com"
> }
> }
>
>
> I bet I'm missing something fundamental, but I can't figure out what it is.
>
> Thanks
>
> /D
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151227/9dcfab47/attachment.html>
More information about the Interest
mailing list