We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28c5b24 commit 9447387Copy full SHA for 9447387
src/helpviewer/main.cpp
@@ -41,9 +41,11 @@ int main( int argc, char ** argv )
41
{
42
context = argv[1];
43
}
44
-#ifdef Q_WS_MACX
+#if defined(Q_WS_MACX)
45
// If we're on Mac, we have the resource library way above us...
46
a.setPkgDataPath( QgsApplication::prefixPath() + "/../../../../" + QString( QGIS_DATA_SUBDIR ) );
47
+#elif defined(Q_WS_WIN)
48
+ a.setPkgDataPath( QgsApplication::prefixPath() + "/" QGIS_DATA_SUBDIR );
49
#else
50
a.setPkgDataPath( QgsApplication::prefixPath() + "/../" QGIS_DATA_SUBDIR );
51
#endif
0 commit comments