Skip to content

Commit b426162

Browse files
committed
find bundled GRASS on OS X
1 parent 9acc475 commit b426162

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ QString QgsGrassModule::findExec( QString file )
6363
#ifdef Q_OS_WIN
6464
mExecPath = path.split( ";" );
6565
mExecPath.prepend( QgsGrass::shortPath( QgsApplication::applicationDirPath() ) );
66+
#elif defined(Q_OS_MACX)
67+
mExecPath = path.split( ":" );
68+
mExecPath.prepend( QgsApplication::applicationDirPath() + "/bin" );
69+
mExecPath.prepend( QgsApplication::applicationDirPath() + "/grass/bin" );
6670
#else
6771
mExecPath = path.split( ":" );
6872
mExecPath.prepend( QgsApplication::applicationDirPath() );

0 commit comments

Comments
 (0)