Opened 5 years ago

Closed 5 years ago

#12206 closed defect (fixed)

Add Plasma's KCMS directory to the QT Plugin Path

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 9.0
Component: BOOK Version: SVN
Severity: normal Keywords:


As noted here:

We need to add $KF5_PREFIX/lib/plugins/kcms to the QT_PLUGIN_PATH.

This will allow systemsettings5 to find plugins.

Change History (5)

comment:1 by Bruce Dubbs, 5 years ago

Milestone: 8.59.0

Milestone renamed

comment:2 by Douglas R. Reno, 5 years ago

Type: enhancementdefect

comment:3 by Douglas R. Reno, 5 years ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:4 by Douglas R. Reno, 5 years ago

FTR, here's a way to reproduce this in the future:

1) Open KDE System Settings 2) Go to Desktop Effects 3) Check the logs

Aug 07 22:53:40 KANGA /usr/libexec/gdm-x-session[665]: KActivitiesStats( 0x1143cc0 ) ResultModelPrivate::onResultScoreUpdated  result added: "kcm:kwintabbox.desktop" score: 0 la>
Aug 07 22:54:09 KANGA /usr/libexec/gdm-x-session[665]: org.kde.kcoreaddons: Error loading plugin "kcm_workspace" "The shared library was not found."
Aug 07 22:54:09 KANGA /usr/libexec/gdm-x-session[665]: Plugin search paths are ("/opt/kf5/lib/plugins", "/opt/qt-5.13.0/plugins", "/opt/kf5/bin")
Aug 07 22:54:09 KANGA /usr/libexec/gdm-x-session[665]: The environment variable QT_PLUGIN_PATH might be not correctly set

These are in fact in /opt/kf5/lib/plugins/kcms:

renodr [ /opt/kf5/lib/plugins/kcms ]$ ls

For some reason, a large chunk of the system settings modules aren't inside of the normal plugin path. This'll get fixed by adding $KF5_PREFIX/lib/plugins/kcms to the QT_PLUGIN_PATH in /etc/profile.d/ (for /opt configurations only)

comment:5 by Douglas R. Reno, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r21919

Note: See TracTickets for help on using tickets.