Fix SRS path

This commit is contained in:
Matthias Kuhn 2019-10-05 09:02:47 +02:00 committed by Nyall Dawson
parent 651b7b18d6
commit 958a6ee90b

View File

@ -980,9 +980,9 @@ QString QgsApplication::srsDatabaseFilePath()
if ( !QFile( tempCopy ).exists() )
{
#if PROJ_VERSION_MAJOR>=6
QFile f( pkgDataPath() + "/resources/srs6.db" );
QFile f( buildSourcePath() + "/resources/srs6.db" );
#else
QFile f( pkgDataPath() + "/resources/srs.db" );
QFile f( buildSourcePath() + "/resources/srs.db" );
#endif
if ( !f.copy( tempCopy ) )
{