Segfault on QgsMapCanvas() creation #22218
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
High Priority
Plugins
Milestone
Author Name: D. Hiepler (D. Hiepler)
Original Redmine Issue: 14217
Affected QGIS version: master
Redmine category:python_plugins
I modified the example code from http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/canvas.html#writing-custom-map-canvas-items
and ended up with
But with current master, it crashes (i suppose there's some Qt initialization missing):
The text was updated successfully, but these errors were encountered: