Fix compatibility with Qt 5.6.
This commit is contained in:
parent
92af5107d7
commit
ff6689f247
|
@ -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{};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user