Skip to content

Commit a036586

Browse files
committed
show more verbose PROJ release info
1 parent 2a6629e commit a036586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/qgisapp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,7 @@ void QgisApp::about()
45104510
#if PROJ_VERSION_MAJOR > 4
45114511
PJ_INFO info = proj_info();
45124512
versionString += "<td>" + tr( "Compiled against PROJ" ) + QStringLiteral( "</td><td>%1.%2.%3</td>" ).arg( PROJ_VERSION_MAJOR ).arg( PROJ_VERSION_MINOR ).arg( PROJ_VERSION_PATCH );
4513-
versionString += "<td>" + tr( "Running against PROJ" ) + QStringLiteral( "</td><td>%1.%2.%3</td>" ).arg( info.major ).arg( info.minor ).arg( info.patch );
4513+
versionString += "<td>" + tr( "Running against PROJ" ) + QStringLiteral( "</td><td>%1</td>" ).arg( info.release );
45144514
#else
45154515
versionString += "<td>" + tr( "PROJ.4 Version" ) + "</td><td colspan=3>" + QString::number( PJ_VERSION ) + "</td>";
45164516
#endif

src/core/processing/qgsprocessingfeedback.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void QgsProcessingFeedback::pushVersionInfo()
6767

6868
#if PROJ_VERSION_MAJOR > 4
6969
PJ_INFO info = proj_info();
70-
pushDebugInfo( tr( "PROJ version: %1.%2.%3" ).arg( PROJ_VERSION_MAJOR ).arg( PROJ_VERSION_MINOR ).arg( PROJ_VERSION_PATCH ) );
70+
pushDebugInfo( tr( "PROJ version: %1" ).arg( info.release ) );
7171
#else
7272
pushDebugInfo( tr( "PROJ version: %1" ).arg( PJ_VERSION ) );
7373
#endif

0 commit comments

Comments
 (0)