From 6716c267b8b1cb7bb6568f427a43a4df5dce3fa7 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Fri, 17 Jul 2026 07:48:58 +0000 Subject: [PATCH] templateview.h: add missing QGraphicsGridLayout/QGraphicsLayoutItem includes templateview.h only included but uses QGraphicsGridLayout (tbgrid_ member) and QGraphicsLayoutItem (indexOf/removeItem signatures) directly. Some Qt5 header apparently pulled these in transitively; Qt6's leaner headers don't, so the class fields/methods silently failed to resolve and the compiler picked bogus 'int*' overloads instead. Other files in the same directory already get these symbols either via the umbrella header or a direct include, so this was an isolated gap. --- sources/titleblock/templateview.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/titleblock/templateview.h b/sources/titleblock/templateview.h index 417b8e8d5..2b4d5ec96 100644 --- a/sources/titleblock/templateview.h +++ b/sources/titleblock/templateview.h @@ -20,6 +20,8 @@ #include "../titleblocktemplate.h" #include +#include +#include class HelperCell; class SplittedHelperCell; class TitleBlockTemplateCommand;