From f6f68871d1913a83ae3d569cb5eda73e6e578aab Mon Sep 17 00:00:00 2001 From: ispyisail Date: Sat, 12 Sep 2026 18:48:13 +1200 Subject: [PATCH] Include QVariant in bomexport.cpp exportBomCsv() calls query.value(i).toString(). QSqlQuery::value() returns a QVariant, but the translation unit only ever sees the forward declaration that arrives through qobject.h, so the call does not compile: sources/bomexport.cpp:79:50: error: invalid use of incomplete type 'class QVariant' 79 | values.append(query.value(i).toString()); Reproduced on a clean checkout of master with Qt 5.15.18. Qt6 pulls the full definition in by another path, so the Windows CI workflow does not see it. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01N64mk33R9GdbU1PkYcc9SP --- sources/bomexport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/bomexport.cpp b/sources/bomexport.cpp index eefdd2e94..ef5581016 100644 --- a/sources/bomexport.cpp +++ b/sources/bomexport.cpp @@ -20,6 +20,7 @@ #include #include #include +#include namespace { QString csvField(QString value)