From be2aaf5cdfc9e7e6e1a62fed989339a3f15e5b9d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 13 Aug 2023 10:51:38 +0300 Subject: [PATCH] Fix missing headers. --- src/libs/vlayout/vposter.cpp | 1 + src/libs/vlayout/vprintlayout.cpp | 1 + src/test/ValentinaTest/tst_dxf.cpp | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/src/libs/vlayout/vposter.cpp b/src/libs/vlayout/vposter.cpp index 2359e6871..ab34c7044 100644 --- a/src/libs/vlayout/vposter.cpp +++ b/src/libs/vlayout/vposter.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #include "../ifc/exception/vexception.h" #include "../vmisc/compatibility.h" diff --git a/src/libs/vlayout/vprintlayout.cpp b/src/libs/vlayout/vprintlayout.cpp index 7537aaed2..93f1d8bb3 100644 --- a/src/libs/vlayout/vprintlayout.cpp +++ b/src/libs/vlayout/vprintlayout.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include "../ifc/exception/vexception.h" #include "../ifc/xml/vwatermarkconverter.h" diff --git a/src/test/ValentinaTest/tst_dxf.cpp b/src/test/ValentinaTest/tst_dxf.cpp index 4239f1e0d..5c877bc4d 100644 --- a/src/test/ValentinaTest/tst_dxf.cpp +++ b/src/test/ValentinaTest/tst_dxf.cpp @@ -31,6 +31,12 @@ #include "../vmisc/compatibility.h" +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) +#include "../vdxf/dxfdef.h" +#include "../vdxf/libdxfrw/intern/drw_textcodec.h" +#include "../vmisc/def.h" +#endif + #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) #include "../vmisc/vtextcodec.h" #else