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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jan 31 15:22:04 EST 2009


Author: wonder
Date: 2009-01-31 15:22:04 -0500 (Sat, 31 Jan 2009)
New Revision: 10076

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
When loading libqgispython failed, output to logger the reason from QLibrary.


Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-01-31 20:03:27 UTC (rev 10075)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-01-31 20:22:04 UTC (rev 10076)
@@ -4195,7 +4195,7 @@
   else
   {
     //using stderr on purpose because we want end users to see this [TS]
-    QgsDebugMsg( "Couldn't load Python support library." );
+    QgsDebugMsg( "Couldn't load Python support library: " + pythonlib.errorString() );
   }
 
   if ( mPythonUtils && mPythonUtils->isEnabled() )



More information about the QGIS-commit mailing list