From e0e5ca4abe3a13f45c46ecf0579a3ea3157706cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Sun, 6 Sep 2026 10:41:23 +0200 Subject: [PATCH 1/3] fix: add missing #include for Manifest type in extensionsession.h extensionsession.h uses 'const Manifest&' as a parameter type but only includes iextensionsession.h and scriptengine.h, neither of which provides the Manifest definition (declared in extensionstypes.h). This compiles only when extensionstypes.h is transitively included through other headers, which varies between Qt distributions. Closes #272 Assisted-by: OpenRouter:z-ai/glm-5.2 opencode --- framework/extensions/internal/extensionsession.h | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/extensions/internal/extensionsession.h b/framework/extensions/internal/extensionsession.h index 635702bf2f..347d941449 100644 --- a/framework/extensions/internal/extensionsession.h +++ b/framework/extensions/internal/extensionsession.h @@ -20,6 +20,7 @@ #include "../iextensionsession.h" #include "scriptengine.h" +#include "../extensionstypes.h" namespace muse::extensions { struct Manifest; From 4466399f4ddbc0fae5b34186a0c1e78fab275c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Sun, 6 Sep 2026 10:42:00 +0200 Subject: [PATCH 2/3] fix: add missing #include for qmlRegister* calls extapiv1.cpp and uimodule.cpp call qmlRegisterType() and qmlRegisterSingletonType() without including , which declares these functions in Qt 6. The calls compile only when is transitively included through other headers, which varies between Qt distributions. Closes #273 Assisted-by: OpenRouter:z-ai/glm-5.2 opencode --- framework/extensions/api/v1/extapiv1.cpp | 1 + framework/ui/uimodule.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/framework/extensions/api/v1/extapiv1.cpp b/framework/extensions/api/v1/extapiv1.cpp index 5a091422b7..6a9d124a82 100644 --- a/framework/extensions/api/v1/extapiv1.cpp +++ b/framework/extensions/api/v1/extapiv1.cpp @@ -21,6 +21,7 @@ */ #include "extapiv1.h" +#include #include #include "messagedialog.h" diff --git a/framework/ui/uimodule.cpp b/framework/ui/uimodule.cpp index 21c8af86c8..3cb58e4b07 100644 --- a/framework/ui/uimodule.cpp +++ b/framework/ui/uimodule.cpp @@ -22,6 +22,7 @@ #include "uimodule.h" #include +#include #include #include "modularity/ioc.h" From 98ebb6e6a6ccf0438d5c6ae4ce20d317823f293a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Sun, 6 Sep 2026 10:42:21 +0200 Subject: [PATCH 3/3] fix: add missing #include in vendored KDDockWidgets DockWidgetBase.cpp DockWidgetBase.cpp calls methods on QAction objects (e.g. setEnabled(), triggered signal) but does not include . The code compiles only when is transitively included through other QtGui headers, which varies between Qt distributions. This is already fixed in upstream KDDockWidgets 2.x, but the vendored snapshot is 1.4.95. Closes #274 Assisted-by: OpenRouter:z-ai/glm-5.2 opencode --- .../dockwindow/thirdparty/KDDockWidgets/src/DockWidgetBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/dockwindow/thirdparty/KDDockWidgets/src/DockWidgetBase.cpp b/framework/dockwindow/thirdparty/KDDockWidgets/src/DockWidgetBase.cpp index 4df49a45fa..847a8b8030 100644 --- a/framework/dockwindow/thirdparty/KDDockWidgets/src/DockWidgetBase.cpp +++ b/framework/dockwindow/thirdparty/KDDockWidgets/src/DockWidgetBase.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include /**