mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
show more verbose PROJ release info
This commit is contained in:
parent
2a6629ef56
commit
a03658663f
@ -4510,7 +4510,7 @@ void QgisApp::about()
|
||||
#if PROJ_VERSION_MAJOR > 4
|
||||
PJ_INFO info = proj_info();
|
||||
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 );
|
||||
versionString += "<td>" + tr( "Running against PROJ" ) + QStringLiteral( "</td><td>%1.%2.%3</td>" ).arg( info.major ).arg( info.minor ).arg( info.patch );
|
||||
versionString += "<td>" + tr( "Running against PROJ" ) + QStringLiteral( "</td><td>%1</td>" ).arg( info.release );
|
||||
#else
|
||||
versionString += "<td>" + tr( "PROJ.4 Version" ) + "</td><td colspan=3>" + QString::number( PJ_VERSION ) + "</td>";
|
||||
#endif
|
||||
|
@ -67,7 +67,7 @@ void QgsProcessingFeedback::pushVersionInfo()
|
||||
|
||||
#if PROJ_VERSION_MAJOR > 4
|
||||
PJ_INFO info = proj_info();
|
||||
pushDebugInfo( tr( "PROJ version: %1.%2.%3" ).arg( PROJ_VERSION_MAJOR ).arg( PROJ_VERSION_MINOR ).arg( PROJ_VERSION_PATCH ) );
|
||||
pushDebugInfo( tr( "PROJ version: %1" ).arg( info.release ) );
|
||||
#else
|
||||
pushDebugInfo( tr( "PROJ version: %1" ).arg( PJ_VERSION ) );
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user