Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Mapbox on ARM not working
Forum Updated to NodeBB v4.3 + New Features

Mapbox on ARM not working

Scheduled Pinned Locked Moved Unsolved QtonPi
4 Posts 3 Posters 1.1k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bozhi
    wrote on last edited by
    #1

    Hi,
    I have a issue with a mapbox application on my raspberryPI. My application just displays a simple map using the plugin mapboxgl. On my PC the map works fine, but when I deploy the app on the raspberry, the application is running but the map is not displayed(just a blank screen).
    Here's the code I'm using:

    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: mapPlugin
            name: "mapboxgl" // "mapboxgl", "esri", ...
        }
    
    
        Map {
            anchors.fill: parent
            plugin: mapPlugin
            center: QtPositioning.coordinate(41.38, 2.16) // Oslo
            zoomLevel: 14
        }
    }
    

    Any ideas or advices?

    Thanks!

    Pablo J. RoginaP 1 Reply Last reply
    0
    • B bozhi

      Hi,
      I have a issue with a mapbox application on my raspberryPI. My application just displays a simple map using the plugin mapboxgl. On my PC the map works fine, but when I deploy the app on the raspberry, the application is running but the map is not displayed(just a blank screen).
      Here's the code I'm using:

      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: mapPlugin
              name: "mapboxgl" // "mapboxgl", "esri", ...
          }
      
      
          Map {
              anchors.fill: parent
              plugin: mapPlugin
              center: QtPositioning.coordinate(41.38, 2.16) // Oslo
              zoomLevel: 14
          }
      }
      

      Any ideas or advices?

      Thanks!

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @bozhi do you have the plugin built for ARM as well?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      B 1 Reply Last reply
      0
      • Pablo J. RoginaP Pablo J. Rogina

        @bozhi do you have the plugin built for ARM as well?

        B Offline
        B Offline
        bozhi
        wrote on last edited by bozhi
        #3

        Hi @Pablo-J.-Rogina, which plugin is? How is called? How do I install it?
        Also, Im using the QT 5.10. I think that by default, there is no mapboxgl plugin. So I have to install it manually, correct?

        MonoFoxM 1 Reply Last reply
        0
        • B bozhi

          Hi @Pablo-J.-Rogina, which plugin is? How is called? How do I install it?
          Also, Im using the QT 5.10. I think that by default, there is no mapboxgl plugin. So I have to install it manually, correct?

          MonoFoxM Offline
          MonoFoxM Offline
          MonoFox
          wrote on last edited by
          #4

          @bozhi
          Did You resolve this problem? I have blank screen too. I tried to compile Qt with GCC 9.1 with no succes, mapboxGL module is still not installed..

          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