Details
-
Bug
-
Resolution: Done
-
P2: Important
-
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 |
206768,2 | Fix MapboxGL crashing when no OpenGLContext can be created | 5.9 | qt/qtlocation | Status: MERGED | +2 | 0 |