[QGIS Commit] r13884 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Jul 4 12:27:27 EDT 2010


Author: gjm
Date: 2010-07-04 16:27:26 +0000 (Sun, 04 Jul 2010)
New Revision: 13884

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
When qgis is installed in a non-standard place, qgis doesn't find the
python plugin library. This may help resolve #2618.


Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-07-04 16:18:38 UTC (rev 13883)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-07-04 16:27:26 UTC (rev 13884)
@@ -4931,7 +4931,7 @@
 void QgisApp::loadPythonSupport()
 {
   QString pythonlibName( "qgispython" );
-#ifdef Q_WS_MAC
+#if defined(Q_WS_MAC) || defined(Q_OS_LINUX)
   pythonlibName.prepend( QgsApplication::prefixPath() + "/lib/" );
 #endif
 #ifdef __MINGW32__



More information about the QGIS-commit mailing list