mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Adapt PROJ search path handling for Proj 6.1.1
This commit is contained in:
parent
512642db18
commit
4a2adfc3df
@ -257,11 +257,15 @@ QStringList QgsProjUtils::searchPaths()
|
||||
#if PROJ_VERSION_MAJOR >= 6
|
||||
const QString path( proj_info().searchpath );
|
||||
QStringList paths;
|
||||
// #ifdef Q_OS_WIN
|
||||
#if 1 // -- see https://github.com/OSGeo/proj.4/pull/1497
|
||||
#if PROJ_VERSION_MINOR == 1 and PROJ_VERSION_PATCH == 0
|
||||
// -- see https://github.com/OSGeo/proj.4/pull/1497
|
||||
paths = path.split( ';' );
|
||||
#else
|
||||
#ifdef Q_OS_WIN
|
||||
paths = path.split( ';' );
|
||||
#else
|
||||
paths = path.split( ':' );
|
||||
#endif
|
||||
#endif
|
||||
|
||||
QSet<QString> existing;
|
||||
|
Loading…
x
Reference in New Issue
Block a user