From: Sune Vuorela <sune@debian.org>
Subject: Make kpythonfactory dlopen versioned python library.
Bug-Debian: http://bugs.debian.org/524685
Bug-Debian: http://bugs.debian.org/541999
Last-Update: 2009-09-19
Forwarded: no
Origin: vendor
Otherwise, python-dev would be needed for Python Plugin factory to work.
|
old
|
new
|
QLibrary *LoadPythonLibrary() |
| 307 | 307 | { |
| 308 | 308 | QLibrary *pythonLib = new QLibrary(); |
| 309 | 309 | pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint); |
| 310 | | pythonLib->setFileName(LIB_PYTHON); |
| | 310 | pythonLib->setFileName(LIB_PYTHON ".1"); |
| 311 | 311 | pythonLib->load(); |
| 312 | 312 | return pythonLib; |
| 313 | 313 | } |