Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Mapviewer, map_minimal examples are not working on android device.
Forum Updated to NodeBB v4.3 + New Features

Mapviewer, map_minimal examples are not working on android device.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 206 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sharath
    wrote on last edited by
    #1

    Hello everyone,

    i'm trying to implement Maps related app using Qt plugins osm/here/mapbox/esri on android device.

    i able to get the map view on desktop windows, but when i run same application on android, it launches the application and it gets crashed immediately.

    import QtQuick 2.0
    import QtQuick.Window 2.0
    import QtLocation 5.6
    import QtPositioning 5.6

    Window {
    width: 512
    height: 512
    visible: true

    Plugin {
        id: osmPlugin
        name: "mapbox" //if i mention osm, here and esri also its not working
       PluginParameter { name: "mapbox.access_token"; value: "value" }
       //i have my mapbox taken 
    }
    
    Map {
        anchors.fill: parent
        plugin: osmPlugin
        center: QtPositioning.coordinate(59.91, 10.75) // Oslo
        zoomLevel: 10
    }
    

    }
    What's wrong?

    I would appreciate your help.

    Thanks,

    Sharath

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved