[QGIS-Developer] QgsMessageLog signals are broken in pyQGIS with QGIS 4

David Marteau dmarteau at 3liz.com
Tue Mar 24 15:05:16 PDT 2026


I Answer to myself.

Found that `messageReceivedWithFormat` indeed work but `messageReceived` 
is blocked for any reason (seems to be a feature of QGIS 4)

Sorry for the noise...

David Marteau

Le 24/03/2026 à 22:20, David Marteau via QGIS-Developer a écrit :

> Hi,
>
> We have noticed that the QgsMessageLog signals (`messageReceived`, 
> `messageReceivedWithFormat`) are not received anymore in Python 
> callback slots.
>
> This is an important api break and from this, one may suspect that 
> other (bad) surprise are waiting at the corner.
>
> There is mention of this in the python tests from QGIS sources, so the 
> problem was known at some point.
>
> What are the positions on the subject ?   Is there some hints toward a 
> fix (so that we could give some help)  ?
>
> Thanks
>
> -- 
>
> David Marteau
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20260324/d14f981a/attachment.htm>


More information about the QGIS-Developer mailing list