Skip to content
Permalink
Browse files

find bundled GRASS on OS X

  • Loading branch information
kyngchaos committed Aug 8, 2015
1 parent 9acc475 commit b42616210a416099360a93846d1bfd8969bafb21
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/plugins/grass/qgsgrassmodule.cpp
@@ -63,6 +63,10 @@ QString QgsGrassModule::findExec( QString file )
#ifdef Q_OS_WIN
mExecPath = path.split( ";" );
mExecPath.prepend( QgsGrass::shortPath( QgsApplication::applicationDirPath() ) );
#elif defined(Q_OS_MACX)
mExecPath = path.split( ":" );
mExecPath.prepend( QgsApplication::applicationDirPath() + "/bin" );
mExecPath.prepend( QgsApplication::applicationDirPath() + "/grass/bin" );
#else
mExecPath = path.split( ":" );
mExecPath.prepend( QgsApplication::applicationDirPath() );

0 comments on commit b426162

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