From 64acbfff4c204d2384f34a18ba327ccb914c36b7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 8 Apr 2023 09:58:22 +0300 Subject: [PATCH] Fix build with Qt 5.6 on Windows. --- src/app/valentina/mainwindow.cpp | 2 +- src/libs/vdxf/libdxfrw/libdxfrw.cpp | 1 + src/libs/vlayout/dialogs/watermarkwindow.cpp | 1 + src/libs/vtools/tools/vtoolseamallowance.cpp | 1 + src/libs/vtools/tools/vtooluniondetails.cpp | 1 + src/libs/vwidgets/vhighlighter.cpp | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index e149a10b9..bae7a8329 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -204,6 +204,7 @@ #include #include #include +#include #include #include #include @@ -214,7 +215,6 @@ #include #include #include -#include #if defined(Q_OS_WIN32) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0) && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) #include diff --git a/src/libs/vdxf/libdxfrw/libdxfrw.cpp b/src/libs/vdxf/libdxfrw/libdxfrw.cpp index 28e18ec81..c6785ed95 100644 --- a/src/libs/vdxf/libdxfrw/libdxfrw.cpp +++ b/src/libs/vdxf/libdxfrw/libdxfrw.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "intern/drw_textcodec.h" #include "intern/dxfreader.h" diff --git a/src/libs/vlayout/dialogs/watermarkwindow.cpp b/src/libs/vlayout/dialogs/watermarkwindow.cpp index 3349cd44c..fe64187fc 100644 --- a/src/libs/vlayout/dialogs/watermarkwindow.cpp +++ b/src/libs/vlayout/dialogs/watermarkwindow.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #if QT_VERSION < QT_VERSION_CHECK(5, 7, 0) #include "../vmisc/backport/qoverload.h" diff --git a/src/libs/vtools/tools/vtoolseamallowance.cpp b/src/libs/vtools/tools/vtoolseamallowance.cpp index 7f319df29..5e90b17d0 100644 --- a/src/libs/vtools/tools/vtoolseamallowance.cpp +++ b/src/libs/vtools/tools/vtoolseamallowance.cpp @@ -77,6 +77,7 @@ #include #include #include +#include #if (defined(Q_CC_GNU) && Q_CC_GNU < 409) && !defined(Q_CC_CLANG) // DO NOT WORK WITH GCC 4.8 diff --git a/src/libs/vtools/tools/vtooluniondetails.cpp b/src/libs/vtools/tools/vtooluniondetails.cpp index 4fb850762..45b032d8b 100644 --- a/src/libs/vtools/tools/vtooluniondetails.cpp +++ b/src/libs/vtools/tools/vtooluniondetails.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include "../dialogs/tools/dialoguniondetails.h" #include "../ifc/xml/vdomdocument.h" diff --git a/src/libs/vwidgets/vhighlighter.cpp b/src/libs/vwidgets/vhighlighter.cpp index 264305810..1c22aaa9d 100644 --- a/src/libs/vwidgets/vhighlighter.cpp +++ b/src/libs/vwidgets/vhighlighter.cpp @@ -26,6 +26,7 @@ ** *************************************************************************/ #include "vhighlighter.h" +#include //--------------------------------------------------------------------------------------------------------------------- VTextBlockData::VTextBlockData()