From ad88505f87a070f4bcbf4727702cca1761e1cf55 Mon Sep 17 00:00:00 2001 From: ispyisail Date: Mon, 28 Sep 2026 07:59:41 +1300 Subject: [PATCH] Fix the build without KDE Frameworks (conductor properties panel) conductorpropertieseditorwidget.cpp, from the #500 work, included unconditionally, so a build with BUILD_WITH_KF=OFF stopped at "KColorButton: No such file or directory". Include the nokde stand-in there instead, as dynamictextfieldeditor.h and terminaleditor.h do. It has the same changed() signal the file connects to. Checked on Ubuntu 22.04 (Qt 6.2.4, BUILD_WITH_KF=OFF): the file fails on master and compiles with this change; together with #1085 the whole tree builds and links. Builds with KDE Frameworks compile the same line as before. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01G2d2Zi8BfrYRPX88zhaoFG --- sources/ui/conductorpropertieseditorwidget.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sources/ui/conductorpropertieseditorwidget.cpp b/sources/ui/conductorpropertieseditorwidget.cpp index 384e43f11..b54e53ae0 100644 --- a/sources/ui/conductorpropertieseditorwidget.cpp +++ b/sources/ui/conductorpropertieseditorwidget.cpp @@ -23,7 +23,11 @@ #include "conductorpropertieswidget.h" #include "../qtextorientationspinboxwidget.h" -#include +#ifdef BUILD_WITHOUT_KF +# include "nokde/kcolorbutton.h" +#else +# include +#endif #include #include