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 struct VSVGPathCommand
{ {
VSVGPathCommand() = default;
VSVGPathCommand(QChar command, const std::vector<qreal> &arguments)
: m_command(command),
m_arguments(arguments)
{
}
QChar m_command{}; QChar m_command{};
std::vector<qreal> m_arguments{}; std::vector<qreal> m_arguments{};
}; };

View File

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