diff --git a/src/plugins/grass/qgsgrassmodule.cpp b/src/plugins/grass/qgsgrassmodule.cpp index d10ea50fa1d6..5ee1b9541703 100644 --- a/src/plugins/grass/qgsgrassmodule.cpp +++ b/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() );