Bug 376764 - Error loading plugin "kcm_lookandfeel"
Summary: Error loading plugin "kcm_lookandfeel"
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 15:48 UTC by Frederick Zhang
Modified: 2017-02-22 00:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederick Zhang 2017-02-21 15:48:52 UTC
I'm using ArchLinux with Plasma 5.9.2

I got this error while installing Look and Feel packages

```
    Feb 21 13:27:05 FredArch kcmshell5[1200]: org.kde.kcoreaddons: Error loading plugin "kcm_lookandfeel" "The shared library was not found." 
    Plugin search paths are ("/usr/lib/qt/plugins", "/usr/bin") 
    The environment variable QT_PLUGIN_PATH might be not correctly set
```

The file kcm_lookandfeel.so is installed to /usr/lib/qt/plugins/kcms whereas most of other kcm_*.so's are located in /usr/lib/qt/plugins

In https://github.com/KDE/plasma-desktop/blob/48db84cf1b2c6dc78a19419e4b37c5630b465ef6/kcms/lookandfeel/CMakeLists.txt#L51, it explicitly specifies the sub-directory.

Some other files in the sub-directory:
ll /usr/lib/qt/plugins/kcms
total 564K
drwxr-xr-x  2 root root 4.0K Feb 22 00:52 .
drwxr-xr-x 44 root root  12K Feb 22 00:52 ..
-rwxr-xr-x  1 root root  64K Feb 15 03:36 kcm_desktoptheme.so
-rwxr-xr-x  1 root root 116K Feb 15 03:30 kcm_energyinfo.so
-rwxr-xr-x  1 root root  27K Feb 15 03:30 kcm_fileindexermonitor.so
-rwxr-xr-x  1 root root 189K Feb 15 03:36 kcm_lookandfeel.so
-rwxr-xr-x  1 root root  71K Dec 19 04:02 kcm_pointingdevices.so
-rwxr-xr-x  1 root root  27K Feb 15 03:38 kcm_pulseaudio.so
-rwxr-xr-x  1 root root  47K Feb 15 03:36 kcm_splashscreen.so
Comment 1 Antonio Rojas 2017-02-21 16:11:53 UTC
Fixed downstream
Comment 2 Antonio Rojas 2017-02-21 16:21:26 UTC
Ah no, sorry. We fixed installing look and feel packages, but the error message is still there. It happens for all plugins installed in /usr/lib/qt/plugins/kcms, but doesn't seem to cause any actual issue.
Comment 3 Frederick Zhang 2017-02-21 16:32:25 UTC
Cool, then I won't mind if you close this ticket. But it would be better if you could remove that error message :)