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

MapPolygon with empty path segmentation fault when using the mapboxgl plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 5.9.2, 5.10.0 Beta 1
    • None
    • KDE Neon
    • c0a069904d6dd1495084e4c69dd639dad14fdedd

    Description

      The following qml code will crash the application during init, when using the mapboxgl plugin

      The reason is that the MapPolygon path is empty. 

       

      import QtQuick 2.8
      import QtQuick.Window 2.2
      import QtPositioning 5.8
      import QtLocation 5.9
      
      Window {
          visible: true
          width: 640
          height: 480
      
          Map {
              anchors.fill: parent
              plugin: Plugin {
                  name: "mapboxgl"
              }
              center: QtPositioning.coordinate(60,10);
      
              MapPolygon {
      
              }
          }
      }
      

      Attachments

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

        Activity

          People

            brunoabinader Bruno de Oliveira Abinader
            pyrrhula Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes