Skip to content


fix build with Qt <5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 24, 2018
1 parent b9c1440 commit 1113e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsrenderchecker.cpp
Expand Up @@ -194,7 +194,9 @@ bool QgsRenderChecker::runTest( const QString &testName,
mElapsedTime = myTime.elapsed();

QImage myImage = job.renderedImage();
#if QT_VERSION >= 0x050600
Q_ASSERT( myImage.devicePixelRatioF() == mMapSettings.devicePixelRatio() );

// Save the pixmap to disk so the user can make a
Expand Down

1 comment on commit 1113e5b

Copy link

@3nids 3nids commented on 1113e5b Oct 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @jef-n

Please sign in to comment.