Diffusion Krita 1553c12637e1

Fix loading of the Python library

Authored by pino on May 29 2018, 8:44 AM.

Description

Fix loading of the Python library

Summary:
Instead of assuming the unversioned .so symlink will exist also at
runtime (which is not the case for binary distros), use the QLibrary
features: the SONAME of the Python library is "1.0", so use the
unsuffixed filename of Python library with it.

Additionally, this extends the loading also to Unices platforms
different than macOS (since Boud excluded it in a previous commit),
and destroy the QLibrary in case of loading failure.

BUG: 393307
Fixed-In: 4.0.4

Reviewers: rempt

Reviewed By: rempt

Subscribers: rempt

Differential Revision: https://phabricator.kde.org/D13144

Details

Committed
pinoMay 29 2018, 8:45 AM
Reviewer
rempt
Differential Revision
D13144: Fix loading of the Python library
Parents
R37:8d4fafe65aec: Merge branch 'rempt/heif-impex'
Branches
Unknown
Tags
Unknown