Fix compatibility with Qt 5.6.

This commit is contained in:
Roman Telezhynskyi 2023-08-11 17:59:55 +03:00
parent 92af5107d7
commit ff6689f247
2 changed files with 8 additions and 0 deletions

View file

@ -43,6 +43,13 @@ class QPainterPath;
struct VSVGPathCommand
{
VSVGPathCommand() = default;
VSVGPathCommand(QChar command, const std::vector<qreal> &arguments)
: m_command(command),
m_arguments(arguments)
{
}
QChar m_command{};
std::vector<qreal> m_arguments{};
};

View file

@ -36,6 +36,7 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QString>
#include <QtDebug>
#include <algorithm>
#include <vector>