I compiled digikam5 from git commit 1b9a889. Digikam shows errors on startup indicating that it did not find the digikamimageplugins (digikamimageplugin_transform, ...). These files are installed into lib/x86_64-linux-gnu/plugins/ while digikam searches for these files per default (no QT_PLUGIN_PATH set) in lib/x86_64-linux-gnu/qt5/plugins/. Adding the first path to the env variable QT_PLUGIN_PATH fixes this. Digikam should install these files into lib/x86_64-linux-gnu/qt5/plugins/. Reproducible: Always Steps to Reproduce: 1. compile and install digikam (debug) 2. run digikam, look at stdout/stderr Actual Results: Imageplugins are not found: Error loading plugin "digikamimageplugin_color" "The shared library was not found." Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set digikam.general: ImagePluginLoader: createInstance returned 0 for "ImagePlugin_Colour" ( "digikamimageplugin_color" ) with error: "The shared library was not found." Error loading plugin "digikamimageplugin_decorate" "The shared library was not found." Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set digikam.general: ImagePluginLoader: createInstance returned 0 for "ImagePlugin_Decorate" ( "digikamimageplugin_decorate" ) with error: "The shared library was not found." Error loading plugin "digikamimageplugin_enhance" "The shared library was not found." Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set digikam.general: ImagePluginLoader: createInstance returned 0 for "ImagePlugin_Enhance" ( "digikamimageplugin_enhance" ) with error: "The shared library was not found." Error loading plugin "digikamimageplugin_fxfilters" "The shared library was not found." Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set digikam.general: ImagePluginLoader: createInstance returned 0 for "ImagePlugin_FxFilters" ( "digikamimageplugin_fxfilters" ) with error: "The shared library was not found." Error loading plugin "digikamimageplugin_transform" "The shared library was not found." Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set digikam.general: ImagePluginLoader: createInstance returned 0 for "ImagePlugin_Transform" ( "digikamimageplugin_transform" ) with error: "The shared library was not found." Expected Results: Imageplugins found and loaded.
Digikam uses "qtpaths --plugin-dir" to find the plugin directory. Which directory is displayed with "qtpaths --plugin-dir"? Maik
This results in qtpaths: could not find a Qt installation of '' On 14/03/16 19:48, Maik Qualmann via KDE Bugzilla wrote: > https://bugs.kde.org/show_bug.cgi?id=360528 > > Maik Qualmann <metzpinguin@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |metzpinguin@gmail.com > > --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> --- > Digikam uses "qtpaths --plugin-dir" to find the plugin directory. Which > directory is displayed with "qtpaths --plugin-dir"? > > Maik >
Then should "qtpaths --writable-path HomeLocation" also do not work? DigiKam uses QStandardPaths to find folders and datas. This has to work, otherwise digiKam will not work properly. I think something is wrong with your Qt installation. Maik
That gave the same result. You are right about the Qt installation. I only installed the packages that were necessary for cmake to run without errors. Therefore I was missing the qtpaths binary file for qt5, I only had a wrapper binary by qtchooser. Installing qttools5-dev-tools provides the necessary file and now the output is correct: (stretch-digikam5)simon@simon-x220-deb:/usr$ qtpaths --plugin-dir /usr/lib/x86_64-linux-gnu/qt5/plugins I uninstalled, recompiled and installed digikam but the plugin files are stilled installed in lib/x86_64-linux-gnu/plugins/. On 14/03/16 20:36, Maik Qualmann via KDE Bugzilla wrote: > https://bugs.kde.org/show_bug.cgi?id=360528 > > --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> --- > Then should "qtpaths --writable-path HomeLocation" also do not work? DigiKam > uses QStandardPaths to find folders and datas. This has to work, otherwise > digiKam will not work properly. I think something is wrong with your Qt > installation. > > Maik >
Do you have remove the build directory and run the bootstrap.linux script again? Maik
I did remove the build directory and then ran cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=debug -DENABLE_INTERNALMYSQL=ON -DENABLE_MYSQLSUPPORT=ON -DENABLE_AKONADICONTACTSUPPORT=OFF .. again, as there is no bootstrap script in the master branch (digikam5). On 14/03/16 22:25, Maik Qualmann via KDE Bugzilla wrote: > https://bugs.kde.org/show_bug.cgi?id=360528 > > --- Comment #5 from Maik Qualmann <metzpinguin@gmail.com> --- > Do you have remove the build directory and run the bootstrap.linux script > again? > > Maik >
Please look here: https://www.digikam.org/download?q=download/GIT Maik
This is embarrassing, sorry for wasting your time and thanks for your patience: I used git://anongit.kde.org/digikam instead of using the software-compilation repo. Using the software-repo this problem disappears (and would have never come up in the first place). This "bug" can be closed. On 14/03/16 22:42, Maik Qualmann via KDE Bugzilla wrote: > https://bugs.kde.org/show_bug.cgi?id=360528 > > --- Comment #7 from Maik Qualmann <metzpinguin@gmail.com> --- > Please look here: > https://www.digikam.org/download?q=download/GIT > > Maik >
Git commit fd9d85af744ed7895de1f3ef46790d5bf8424576 by Gilles Caulier. Committed on 13/08/2016 at 17:29. Pushed by cgilles into branch 'master'. Final stage about editor tools. Delete Image Editor Plugins interface. This will speedup initialization of digiKam and Showfoto, and remove a run-time dependencies with plugin files to load/unload on memory, which is problem atic with non KDE desktop, MacOS and Windows. M +1 -0 NEWS M +0 -1 app/CMakeLists.txt M +0 -6 app/main/digikamapp.cpp M +0 -25 showfoto/main/showfoto.cpp M +0 -2 showfoto/main/showfoto_p.h M +1 -10 utilities/imageeditor/CMakeLists.txt M +2 -95 utilities/imageeditor/editor/editorwindow.cpp M +0 -7 utilities/imageeditor/editor/editorwindow.h M +0 -5 utilities/imageeditor/editor/editorwindow_p.h R +0 -0 utilities/imageeditor/editor/imageiface.cpp [from: utilities/imageeditor/plugin/imageiface.cpp - 100% similarity] R +0 -0 utilities/imageeditor/editor/imageiface.h [from: utilities/imageeditor/plugin/imageiface.h - 100% similarity] M +0 -9 utilities/imageeditor/main/imagewindow.cpp D +0 -57 utilities/imageeditor/plugin/digikamimageplugin.desktop D +0 -94 utilities/imageeditor/plugin/imageplugin.cpp D +0 -79 utilities/imageeditor/plugin/imageplugin.h D +0 -247 utilities/imageeditor/plugin/imagepluginloader.cpp D +0 -74 utilities/imageeditor/plugin/imagepluginloader.h http://commits.kde.org/digikam/fd9d85af744ed7895de1f3ef46790d5bf8424576