This is a nasty hack to get annotations to show in composer maps, but it badly mixes up the core/gui segregation.
Needs to be fixed by implementing a registry of annotations in QgsProject and using these to determine the annotations to show, rather than using the QGraphicsScene api.
This is a nasty hack to get annotations to show in composer maps, but it badly mixes up the core/gui segregation.
Needs to be fixed by implementing a registry of annotations in QgsProject and using these to determine the annotations to show, rather than using the QGraphicsScene api.