Skip to content

Commit

Permalink
show GDAL & PROJ version in CRS test
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 14, 2012
1 parent c26d9ac commit a1b1324
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/src/core/testqgscoordinatereferencesystem.cpp
Expand Up @@ -24,6 +24,9 @@ Email : sherman at mrcc dot com
#include <qgscoordinatereferencesystem.h>
#include <qgis.h>

#include <proj_api.h>
#include <gdal.h>

class TestQgsCoordinateReferenceSystem: public QObject
{
Q_OBJECT
Expand Down Expand Up @@ -296,6 +299,9 @@ void TestQgsCoordinateReferenceSystem::debugPrint(
{
QgsDebugMsg( "* Units : degrees" );
}

QgsDebugMsg( QString( "** GDAL version: %1" ).arg( GDAL_RELEASE_NAME ) );
QgsDebugMsg( QString( "** PROJ.4 version: %1" ).arg( PJ_VERSION ) );
}

QTEST_MAIN( TestQgsCoordinateReferenceSystem )
Expand Down

0 comments on commit a1b1324

Please sign in to comment.