diff --git a/python/PyQt6/core/auto_generated/qgsmaplayerlegend.sip.in b/python/PyQt6/core/auto_generated/qgsmaplayerlegend.sip.in index eaaba778e2c..a2649910312 100644 --- a/python/PyQt6/core/auto_generated/qgsmaplayerlegend.sip.in +++ b/python/PyQt6/core/auto_generated/qgsmaplayerlegend.sip.in @@ -12,6 +12,7 @@ + class QgsMapLayerLegend : QObject { %Docstring(signature="appended") diff --git a/python/core/auto_generated/qgsmaplayerlegend.sip.in b/python/core/auto_generated/qgsmaplayerlegend.sip.in index eaaba778e2c..a2649910312 100644 --- a/python/core/auto_generated/qgsmaplayerlegend.sip.in +++ b/python/core/auto_generated/qgsmaplayerlegend.sip.in @@ -12,6 +12,7 @@ + class QgsMapLayerLegend : QObject { %Docstring(signature="appended") diff --git a/src/core/qgsmaplayerlegend.h b/src/core/qgsmaplayerlegend.h index c9700acab50..b8f4cde764e 100644 --- a/src/core/qgsmaplayerlegend.h +++ b/src/core/qgsmaplayerlegend.h @@ -18,6 +18,8 @@ #include #include + +#include "qgis.h" #include "qgis_sip.h" class QDomDocument;