Skip to content

make library and fileName comply with docs

Harald Sitter requested to merge work/fixlib into master

When constructing from a KPluginInfo the libraryPath() was put into lib, yet lib is meant to be the library name.

same for fileName, but that also affected the KService ctor.

test expectations have been adjusted accordingly.

the library problem specifically broke loading of KCMs via KCModuleLoader as loadModule would run "kcms/"+mod.library() through KPluginLoader resulting in no module being found as the actual input would be something like kcms/usr/lib/kcms/foo.so

Merge request reports