Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76131

Use mapboxgl on raspberry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P4: Low
    • Resolution: Incomplete
    • Affects Version/s: 5.12.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      Hi,

      I have an issue running an application  with mapbox  plugin on raspberry.

      FIrst I've tested the application on my laptop(x86) and works fine, the map is loading

      with the mapbox plugin. However when I compile and run the same project on the raspberry,

      the project is compiling without any problems,  the program is running but nothing appears

      inside the window, the map is not loading.

      I have also tested another type of plugins such as esri(on the raspberry), and works fine,

      the map is loading. I only have this problem with the mapbox plugin.

      I've recently installed QT 5.12.1 on my raspberry. The mapbox plugin is also included in the installation package. So I don't understand why is not working.

      Below I'll place the QML code I'm working with:

      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
       }
      }
      

       

      Can you give me a tip why is not working? Is there an issue with the plugin

      or I'm just missing something?

       

      Thanks in advance.

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                paangele Paolo Angelelli
                Reporter:
                bozhi91 Bozhidar Ivaylov
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes