Skip to content
Permalink
Browse files

Revert "Do not setPkgDataPath to source dir when running from build dir"

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 37e92eb85318668ed9c9a7063764cd8198aa87ea
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsapplication.cpp
@@ -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 + "/";
}

0 comments on commit 37e92eb

Please sign in to comment.
You can’t perform that action at this time.