Qt 5.6 new constant for SVG.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-11-19 10:07:02 +02:00
parent 0cd7a023a2
commit af1061635a

View File

@ -142,6 +142,9 @@ int VDxfPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric) const
return static_cast<int>(engine->getResolution());
#if QT_VERSION > QT_VERSION_CHECK(5, 0, 2)
case QPaintDevice::PdmDevicePixelRatio:
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
case QPaintDevice::PdmDevicePixelRatioScaled:
#endif
return 1;
#endif
default: