Skip to content

Commit 1113e5b

Browse files
committed
fix build with Qt <5.6
1 parent b9c1440 commit 1113e5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsrenderchecker.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ bool QgsRenderChecker::runTest( const QString &testName,
194194
mElapsedTime = myTime.elapsed();
195195

196196
QImage myImage = job.renderedImage();
197+
#if QT_VERSION >= 0x050600
197198
Q_ASSERT( myImage.devicePixelRatioF() == mMapSettings.devicePixelRatio() );
199+
#endif
198200

199201
//
200202
// Save the pixmap to disk so the user can make a

0 commit comments

Comments
 (0)