Fix build.
This commit is contained in:
parent
dad5955e48
commit
37b00a9fd5
|
@ -40,8 +40,8 @@
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
#include <Qt>
|
|
||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
#include <QtMath>
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||||
#include "../vmisc/diagnostic.h"
|
#include "../vmisc/diagnostic.h"
|
||||||
|
@ -71,9 +71,8 @@ static inline auto svgEngineFeatures() -> QPaintEngine::PaintEngineFeatures
|
||||||
QT_WARNING_DISABLE_INTEL(68)
|
QT_WARNING_DISABLE_INTEL(68)
|
||||||
QT_WARNING_DISABLE_INTEL(2022)
|
QT_WARNING_DISABLE_INTEL(2022)
|
||||||
|
|
||||||
return QPaintEngine::PaintEngineFeatures(QPaintEngine::AllFeatures & ~QPaintEngine::PatternBrush &
|
return {QPaintEngine::AllFeatures & ~QPaintEngine::PatternBrush & ~QPaintEngine::PerspectiveTransform &
|
||||||
~QPaintEngine::PerspectiveTransform & ~QPaintEngine::ConicalGradientFill &
|
~QPaintEngine::ConicalGradientFill & ~QPaintEngine::PorterDuff};
|
||||||
~QPaintEngine::PorterDuff);
|
|
||||||
|
|
||||||
QT_WARNING_POP
|
QT_WARNING_POP
|
||||||
}
|
}
|
||||||
|
@ -100,11 +99,6 @@ VObjEngine::VObjEngine()
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
|
||||||
VObjEngine::~VObjEngine()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
auto VObjEngine::begin(QPaintDevice *pdev) -> bool
|
auto VObjEngine::begin(QPaintDevice *pdev) -> bool
|
||||||
{
|
{
|
||||||
|
|
|
@ -49,7 +49,7 @@ class VObjEngine final : public QPaintEngine
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VObjEngine();
|
VObjEngine();
|
||||||
virtual ~VObjEngine() override;
|
~VObjEngine() override = default;
|
||||||
|
|
||||||
virtual auto begin(QPaintDevice *pdev) -> bool override;
|
virtual auto begin(QPaintDevice *pdev) -> bool override;
|
||||||
virtual auto end() -> bool override;
|
virtual auto end() -> bool override;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user