We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddf8253 commit 8746954Copy full SHA for 8746954
src/helpviewer/main.cpp
@@ -22,6 +22,7 @@
22
#include "qgshelpviewer.h"
23
#include "qgsapplication.h"
24
#include "qgslogger.h"
25
+#include "qgsconfig.h"
26
27
int main( int argc, char ** argv )
28
{
@@ -39,9 +40,9 @@ int main( int argc, char ** argv )
39
40
41
context = argv[1];
42
}
-#ifdef Q_WS_MAC
43
+#ifdef Q_WS_MACX
44
// If we're on Mac, we have the resource library way above us...
- a.setPkgDataPath( QgsApplication::prefixPath() + "/../../../../share/qgis" );
45
+ a.setPkgDataPath( QgsApplication::prefixPath() + "/../../../../" + QString( QGIS_DATA_SUBDIR ) );
46
#endif
47
48
QString i18nPath = QgsApplication::i18nPath();
0 commit comments