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

MapboxGL plugin crashes on wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.9, 5.10, 5.11
    • None

    Description

      To reproduce:
      1) run qtwayland/examples/wayland/minimal-qml
      2) run the mapviewer example using the environment variable QT_QPA_PLATFORM=wayland
      3) in the mapviewer, change to mapboxgl

      expected: segfault

      Minimal example to reproduce the issue:

      import QtQuick 2.7
      import QtQuick.Window 2.2
      import QtPositioning 5.6
      import QtLocation 5.9
      
      Window {
          id: win
          visible: true
          width: 640
          height: 640
      
          Map {
              id: map
              anchors.fill: parent
              opacity: 1.0
              color: 'transparent'
              plugin:Plugin {
                  name: "mapboxgl"
                   PluginParameter { name: "mapboxgl.mapping.use_fbo"; value: "true"}
              }
              center: QtPositioning.coordinate(45,10)
              activeMapType: map.supportedMapTypes[0]
              zoomLevel: 4
          }
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-63374
        # Subject Branch Project Status CR V

        Activity

          People

            tmpsantos Thiago Marcos P. Santos
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes