Skip to content

Commit a1b1324

Browse files
committedApr 14, 2012
show GDAL & PROJ version in CRS test
1 parent c26d9ac commit a1b1324

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎tests/src/core/testqgscoordinatereferencesystem.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Email : sherman at mrcc dot com
2424
#include <qgscoordinatereferencesystem.h>
2525
#include <qgis.h>
2626

27+
#include <proj_api.h>
28+
#include <gdal.h>
29+
2730
class TestQgsCoordinateReferenceSystem: public QObject
2831
{
2932
Q_OBJECT
@@ -296,6 +299,9 @@ void TestQgsCoordinateReferenceSystem::debugPrint(
296299
{
297300
QgsDebugMsg( "* Units : degrees" );
298301
}
302+
303+
QgsDebugMsg( QString( "** GDAL version: %1" ).arg( GDAL_RELEASE_NAME ) );
304+
QgsDebugMsg( QString( "** PROJ.4 version: %1" ).arg( PJ_VERSION ) );
299305
}
300306

301307
QTEST_MAIN( TestQgsCoordinateReferenceSystem )

0 commit comments

Comments
 (0)