Bug 430566

Summary: Make DK_PLUGIN_PATH allow multiple paths
Product: [Applications] digikam Reporter: Zhu Zihao <all_but_last>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

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