From d1b51c78f6bcee5651cf086b677aabdcb5a64510 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 15 Jul 2023 15:24:25 +0300 Subject: [PATCH] Fix build. --- src/libs/vlayout/vtextmanager.h | 2 +- src/libs/vwidgets/vabstractmainwindow.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libs/vlayout/vtextmanager.h b/src/libs/vlayout/vtextmanager.h index 69b5a790f..21fb12914 100644 --- a/src/libs/vlayout/vtextmanager.h +++ b/src/libs/vlayout/vtextmanager.h @@ -74,7 +74,7 @@ class VTextManager Q_DECLARE_TR_FUNCTIONS(VTextManager) // NOLINT public: - VTextManager() = default; + VTextManager() noexcept = default; virtual ~VTextManager() = default; VTextManager(const VTextManager &text) = default; diff --git a/src/libs/vwidgets/vabstractmainwindow.h b/src/libs/vwidgets/vabstractmainwindow.h index be0c13e3f..431685eed 100644 --- a/src/libs/vwidgets/vabstractmainwindow.h +++ b/src/libs/vwidgets/vabstractmainwindow.h @@ -38,6 +38,10 @@ #include "../vmisc/diagnostic.h" #endif // QT_VERSION < QT_VERSION_CHECK(5, 5, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) +#include "../vmisc/defglobal.h" +#endif + struct VFinalMeasurement; QT_WARNING_PUSH