Skip to content

Commit a3c239f

Browse files
committed
find bundled GRASS on OS X
1 parent d110452 commit a3c239f

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
@@ -70,6 +70,10 @@ QString QgsGrassModule::findExec( QString file )
7070
#ifdef WIN32
7171
mExecPath = path.split( ";" );
7272
mExecPath.prepend( QgsGrass::shortPath( QgsApplication::applicationDirPath() ) );
73+
#elif defined(Q_OS_MACX)
74+
mExecPath = path.split( ":" );
75+
mExecPath.prepend( QgsApplication::applicationDirPath() + "/bin");
76+
mExecPath.prepend( QgsApplication::applicationDirPath() + "/grass/bin");
7377
#else
7478
mExecPath = path.split( ":" );
7579
mExecPath.prepend( QgsApplication::applicationDirPath() );

0 commit comments

Comments
 (0)