Fixes and tests.

This commit is contained in:
Mikaël Capelle
2022-05-02 18:56:44 +02:00
parent 6ea9d92b26
commit 30a01cf783
15 changed files with 308 additions and 51 deletions
+5 -1
View File
@@ -142,7 +142,11 @@ bool ProxyPython::init(IOrganizer* moInfo)
m_Runner = std::unique_ptr<IPythonRunner>{createPythonRunner()};
if (m_Runner) {
m_Runner->initialize(pluginFolder / "libs");
const auto libpath = pluginFolder / "libs";
const QStringList paths{
QFileInfo(libpath / "pythoncore.zip").absoluteFilePath(),
QFileInfo(libpath).absoluteFilePath(), IOrganizer::getPluginDataPath()};
m_Runner->initialize(paths);
}
if (m_MOInfo) {