Skip to content

Commit

Permalink
Revert "Do not setPkgDataPath to source dir when running from build dir"
Browse files Browse the repository at this point in the history
This reverts commit 227401d.

Otherwise, crssync fails when setting up db for running tests
  • Loading branch information
dakcarto committed Oct 24, 2012
1 parent c2b6a47 commit 37e92eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsapplication.cpp
Expand Up @@ -120,6 +120,7 @@ void QgsApplication::init( QString customConfigPath )
#else
setPluginPath( ABISYM( mBuildOutputPath ) + "/" + QString( QGIS_PLUGIN_SUBDIR ) );
#endif
setPkgDataPath( ABISYM( mBuildSourcePath ) ); // directly source path - used for: doc, resources, svg
ABISYM( mLibraryPath ) = ABISYM( mBuildOutputPath ) + "/" + QGIS_LIB_SUBDIR + "/";
ABISYM( mLibexecPath ) = ABISYM( mBuildOutputPath ) + "/" + QGIS_LIBEXEC_SUBDIR + "/";
}
Expand Down

0 comments on commit 37e92eb

Please sign in to comment.