Bug 430566 - Make DK_PLUGIN_PATH allow multiple paths
Summary: Make DK_PLUGIN_PATH allow multiple paths
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 7.1.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-19 03:08 UTC by Zhu Zihao
Modified: 2022-02-05 22:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhu Zihao 2020-12-19 03:08:24 UTC
Now environment variable DK_PLUGIN_PATH only allow one entry. It's invalid to do

  export DK_PLUGIN_PATH=/usr/lib/qt5/plugins/digikam:/usr/local/lib/qt5/plugins/digikam

If this env var accept a colon separated list, it would be helpful for user to use
plugins in different prefix.
Comment 1 Maik Qualmann 2020-12-19 05:55:13 UTC
Git commit b1cd79999102ce5dfe2daeed8fcc85339d561bc6 by Maik Qualmann.
Committed on 19/12/2020 at 05:54.
Pushed by mqualmann into branch 'master'.

allow DK_PLUGIN_PATH as path list with colon as separator
FIXED-IN: 7.2.0

M  +2    -1    NEWS
M  +18   -15   core/libs/dplugins/setup/dpluginloader_p.cpp

https://invent.kde.org/graphics/digikam/commit/b1cd79999102ce5dfe2daeed8fcc85339d561bc6
Comment 2 Maik Qualmann 2020-12-19 06:00:01 UTC
Git commit 4510b935fdfa7a8679f41b793b648a29804d1244 by Maik Qualmann.
Committed on 19/12/2020 at 05:59.
Pushed by mqualmann into branch 'master'.

the colon is bad for Windows users, now use semicolon as separator

M  +1    -1    core/libs/dplugins/setup/dpluginloader_p.cpp

https://invent.kde.org/graphics/digikam/commit/4510b935fdfa7a8679f41b793b648a29804d1244