Andreas,

> Can QGIS 2.18 be built against GDAL 3.x?

Hum, I guess it would build, although definitely not a vetted combination. I 
wouldn't expect 
datum transformations to work very well, since QGIS would be dependent on 
towgs84 
coming in PROJ.4 strings, and GDAL 3 / PROJ >= 6 will not populate that often 
now.

You might have to add
-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
in CMAKE_CXX_FLAGS to get QGIS to build against PROJ >= 6

You should check also which PROJ version your spatialite lib is linking to.

You might instead to choose the 'internal PROJ' trick 
(https://trac.osgeo.org/gdal/wiki/
BuildingOnUnixGDAL25dev) to have only GDAL built against PROJ >= 6 and have the 
rest of 
the stack (spatialite, QGIS) still using PROJ 5

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to