File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 19
19
#include " qgsgeos.h"
20
20
#include < ogr_api.h>
21
21
#include < gdal_version.h>
22
- #if PROJ_VERSION_MAJOR > 4
23
- #include < proj.h>
24
- #else
25
- #include < proj_api.h>
22
+
23
+ #ifndef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
24
+ #define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
26
25
#endif
26
+ #include < proj_api.h>
27
27
28
28
void QgsProcessingFeedback::setProgressText ( const QString & )
29
29
{
@@ -64,13 +64,7 @@ void QgsProcessingFeedback::pushVersionInfo()
64
64
pushDebugInfo ( tr ( " Qt version: %1" ).arg ( qVersion () ) );
65
65
pushDebugInfo ( tr ( " GDAL version: %1" ).arg ( GDALVersionInfo ( " RELEASE_NAME" ) ) );
66
66
pushDebugInfo ( tr ( " GEOS version: %1" ).arg ( GEOSversion () ) );
67
-
68
- #if PROJ_VERSION_MAJOR > 4
69
- PJ_INFO info = proj_info ();
70
- pushDebugInfo ( tr ( " PROJ version: %1" ).arg ( info.release ) );
71
- #else
72
67
pushDebugInfo ( tr ( " PROJ version: %1" ).arg ( PJ_VERSION ) );
73
- #endif
74
68
}
75
69
76
70
You can’t perform that action at this time.
0 commit comments