From ff6689f2472c396a48cd5116302d5075c09bc0e2 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 11 Aug 2023 17:59:55 +0300 Subject: [PATCH] Fix compatibility with Qt 5.6. --- src/libs/vmisc/svgfont/vsvgpathtokenizer.h | 7 +++++++ src/libs/vmisc/theme/vstylesheetstyle.cpp | 1 + 2 files changed, 8 insertions(+) diff --git a/src/libs/vmisc/svgfont/vsvgpathtokenizer.h b/src/libs/vmisc/svgfont/vsvgpathtokenizer.h index 9728db4bd..8ea9c831a 100644 --- a/src/libs/vmisc/svgfont/vsvgpathtokenizer.h +++ b/src/libs/vmisc/svgfont/vsvgpathtokenizer.h @@ -43,6 +43,13 @@ class QPainterPath; struct VSVGPathCommand { + VSVGPathCommand() = default; + VSVGPathCommand(QChar command, const std::vector &arguments) + : m_command(command), + m_arguments(arguments) + { + } + QChar m_command{}; std::vector m_arguments{}; }; diff --git a/src/libs/vmisc/theme/vstylesheetstyle.cpp b/src/libs/vmisc/theme/vstylesheetstyle.cpp index edb573290..f67384cb2 100644 --- a/src/libs/vmisc/theme/vstylesheetstyle.cpp +++ b/src/libs/vmisc/theme/vstylesheetstyle.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #include #include