Blame pythonpluginfactory_use_versioned_python_lib.diff

Rex Dieter 09c3536
From: Sune Vuorela <sune@debian.org>
Rex Dieter 09c3536
Subject: Make kpythonfactory dlopen versioned python library.
Rex Dieter 09c3536
Bug-Debian: http://bugs.debian.org/524685
Rex Dieter 09c3536
Bug-Debian: http://bugs.debian.org/541999
Rex Dieter 09c3536
Last-Update: 2009-09-19
Rex Dieter 09c3536
Forwarded: no
Rex Dieter 09c3536
Origin: vendor
Rex Dieter 09c3536
Rex Dieter 09c3536
Otherwise, python-dev would be needed for Python Plugin factory to work.
Rex Dieter 09c3536
Rex Dieter 09c3536
--- a/kpythonpluginfactory/kpythonpluginfactory.cpp
Rex Dieter 09c3536
+++ b/kpythonpluginfactory/kpythonpluginfactory.cpp
Rex Dieter 09c3536
@@ -307,7 +307,7 @@ QLibrary *LoadPythonLibrary()
Rex Dieter 09c3536
 {
Rex Dieter 09c3536
     QLibrary *pythonLib = new QLibrary();
Rex Dieter 09c3536
     pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
Rex Dieter 09c3536
-    pythonLib->setFileName(LIB_PYTHON);
Rex Dieter 09c3536
+    pythonLib->setFileName(LIB_PYTHON ".1");
Rex Dieter 09c3536
     pythonLib->load();
Rex Dieter 09c3536
     return pythonLib;
Rex Dieter 09c3536
 }