File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 23
23
#define QGIS_PLUGIN_SUBDIR "${QGIS_PLUGIN_SUBDIR}"
24
24
#define QGIS_DATA_SUBDIR "${QGIS_DATA_SUBDIR}"
25
25
#define QGIS_LIBEXEC_SUBDIR "${QGIS_LIBEXEC_SUBDIR}"
26
+ #define QGIS_LIB_SUBDIR "${QGIS_LIB_SUBDIR}"
26
27
27
28
#cmakedefine HAVE_POSTGRESQL
28
29
Original file line number Diff line number Diff line change @@ -4931,8 +4931,10 @@ void QgisApp::showPluginManager()
4931
4931
void QgisApp::loadPythonSupport ()
4932
4932
{
4933
4933
QString pythonlibName ( " qgispython" );
4934
- #if defined(Q_WS_MAC) || defined(Q_OS_LINUX)
4934
+ #if defined(Q_WS_MAC)
4935
4935
pythonlibName.prepend ( QgsApplication::prefixPath () + " /lib/" );
4936
+ #elif defined(Q_OS_LINUX)
4937
+ pythonlibName.prepend ( QgsApplication::prefixPath () + " /" + QGIS_LIB_SUBDIR + " /" );
4936
4938
#endif
4937
4939
#ifdef __MINGW32__
4938
4940
pythonlibName.prepend ( " lib" );
You can’t perform that action at this time.
0 commit comments