Fix support Visual Studio 2015.
This commit is contained in:
parent
4bf01918c9
commit
488fbb6baa
|
@ -40,7 +40,7 @@
|
||||||
#include "../vmisc/compatibility.h"
|
#include "../vmisc/compatibility.h"
|
||||||
#include "../ifc/exception/vexceptionobjecterror.h"
|
#include "../ifc/exception/vexceptionobjecterror.h"
|
||||||
|
|
||||||
#if defined(Q_CC_MSVC) && _MSC_VER > 1900
|
#if defined(Q_CC_MSVC) && _MSC_VER <= 1900
|
||||||
const qreal VAbstractCurve::minLength = ToPixel(1, Unit::Mm);
|
const qreal VAbstractCurve::minLength = ToPixel(1, Unit::Mm);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -112,8 +112,12 @@ public:
|
||||||
|
|
||||||
void SetAliasSuffix(const QString &aliasSuffix) override;
|
void SetAliasSuffix(const QString &aliasSuffix) override;
|
||||||
|
|
||||||
#if defined(Q_CC_MSVC) && _MSC_VER > 1900
|
#if defined(Q_CC_MSVC)
|
||||||
|
#if _MSC_VER > 1900
|
||||||
|
static constexpr qreal minLength = ToPixel(1, Unit::Mm);
|
||||||
|
#else
|
||||||
static const qreal minLength;
|
static const qreal minLength;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
static constexpr qreal minLength = ToPixel(1, Unit::Mm);
|
static constexpr qreal minLength = ToPixel(1, Unit::Mm);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user