Skip to content

Commit 9130baf

Browse files
committed
Partial fix to coordinate reference system unit tests
1 parent 306d1a4 commit 9130baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/core/testqgscoordinatereferencesystem.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ void TestQgsCoordinateReferenceSystem::initTestCase()
6767
// Runs once before any tests are run
6868
//
6969
// init QGIS's paths - true means that all path will be inited from prefix
70-
QString qgisPath = QCoreApplication::applicationDirPath();
71-
QgsApplication::init( INSTALL_PREFIX );
70+
QgsApplication::setPrefixPath( INSTALL_PREFIX, true );
71+
QgsApplication::initQgis( );
7272
QgsApplication::showSettings();
7373

7474
};

0 commit comments

Comments
 (0)