From 5d5ab508d4af85c8c7e77ce32e01010244c9976f Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 10 Aug 2023 18:46:41 +0300 Subject: [PATCH] Fix build. --- src/app/valentina/dialogs/configpages/preferencespathpage.h | 4 ++++ src/libs/vmisc/svgfont/vsvgpathtokenizer.h | 1 + src/test/ValentinaTest/tst_vsvgpathtokenizer.cpp | 1 + 3 files changed, 6 insertions(+) diff --git a/src/app/valentina/dialogs/configpages/preferencespathpage.h b/src/app/valentina/dialogs/configpages/preferencespathpage.h index 0c2dede52..7d9067e81 100644 --- a/src/app/valentina/dialogs/configpages/preferencespathpage.h +++ b/src/app/valentina/dialogs/configpages/preferencespathpage.h @@ -31,6 +31,10 @@ #include +#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) +#include "../vmisc/defglobal.h" +#endif + namespace Ui { class PreferencesPathPage; diff --git a/src/libs/vmisc/svgfont/vsvgpathtokenizer.h b/src/libs/vmisc/svgfont/vsvgpathtokenizer.h index 49e42a733..9728db4bd 100644 --- a/src/libs/vmisc/svgfont/vsvgpathtokenizer.h +++ b/src/libs/vmisc/svgfont/vsvgpathtokenizer.h @@ -33,6 +33,7 @@ #include #include #include +#include #if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) #include "../defglobal.h" diff --git a/src/test/ValentinaTest/tst_vsvgpathtokenizer.cpp b/src/test/ValentinaTest/tst_vsvgpathtokenizer.cpp index 81e595c4e..b26b36019 100644 --- a/src/test/ValentinaTest/tst_vsvgpathtokenizer.cpp +++ b/src/test/ValentinaTest/tst_vsvgpathtokenizer.cpp @@ -30,6 +30,7 @@ #include "../vmisc/svgfont/vsvgpathtokenizer.h" #include "def.h" +#include #include namespace