You are not logged in.

#1 2017-02-21 02:53:06

FrederickZh
Member
Registered: 2016-12-27
Posts: 14

KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

Hi guys,

It seems that QT_PLUGIN_PATH is not correctly set for KDE Plasma. I had troubles installing Look and Feel.

Here's my log.

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
Feb 21 13:27:05 FredArch kcmshell5[1200]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Feb 21 13:27:05 FredArch kcmshell5[1200]: Couldn't find node shadow. Skipping rendering.

The "kcm_lookandfeel.so" is actually located in /usr/lib/qt/plugins/kcms

However most plugins are installed to /usr/lib/qt/plugins. I've got only a few files in the kcms directory

$ ll /usr/lib/qt/plugins/kcms
total 564K
drwxr-xr-x  2 root root 4.0K Feb 15 10:17 .
drwxr-xr-x 44 root root  12K Feb 19 01:21 ..
-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

Is this a packaging issue or an issue from upstream? The Look and Feel works normally in Neon (https://forum.kde.org/viewtopic.php?f=17&t=138995).

Offline

#2 2017-02-21 03:00:17

FrederickZh
Member
Registered: 2016-12-27
Posts: 14

Re: KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

I linked those files to /usr/lib/qt/plugins but I still cannot install Look and Feel.

Logs:

Feb 21 13:57:34 FredArch kcmshell5[1197]: kf5.kwidgetsaddons: Invalid framesize.
Feb 21 13:57:34 FredArch kcmshell5[1197]: The file  "/home/frederick/.local/share/knewstuff3/lookandfeel.knsregistry"  could not be opened.
Feb 21 13:57:37 FredArch systemd-timesyncd[374]: Synchronized to time server 13.55.50.68:123 (0.arch.pool.ntp.org).
Feb 21 13:58:03 FredArch kpackagetool5[1223]: pluginname:  "ELplas"
Feb 21 13:58:03 FredArch kcmshell5[1197]: Command ' "kpackagetool5 -t Plasma/LookAndFeel -i /tmp/ELplas.tar.gz" ' failed with code 4

Offline

#3 2017-02-21 15:51:00

FrederickZh
Member
Registered: 2016-12-27
Posts: 14

Re: KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

Offline

#4 2017-06-22 13:58:56

lexikon
Member
Registered: 2017-01-15
Posts: 10

Re: KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

in my 5.10 I has this error( how I can fix it? I think what make symbol links is wrong way(

Offline

#5 2017-06-22 14:24:17

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,097

Re: KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

As you can read in the linked bug reports: those "errors" are harmless

Offline

#6 2017-10-02 17:32:32

saram-6197-kon
Member
From: Germany
Registered: 2016-09-01
Posts: 11

Re: KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

I get the same error on a fully updated system:

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
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/qt/qml/QtQuick/Controls/Styles/Desktop"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
kf5.kwidgetsaddons: Invalid framesize.
The file  "/home/saramkon/.local/share/knewstuff3/lookandfeel.knsregistry"  could not be opened.
Command ' "kpackagetool5 -t Plasma/LookAndFeel -i /tmp/com.github.varlesh.arc-dark.tar.gz" ' failed with code 4

I read that the error should have no consequences, but I can't install any "look and feel" packages. (even after setting QT_PLUGIN_PATH to find the right plugin location).

Offline

#7 2017-10-03 15:44:59

saram-6197-kon
Member
From: Germany
Registered: 2016-09-01
Posts: 11

Re: KDE Plasma 5.9.2: QT_PLUGIN_PATH might be not correctly set

Nevermind. It just seems, that half of the look and feel packages are broken and incompatible between 5.9 and 5.10. The error code in the systemsettings5 log does not reveal anything but manually executing the commands shows a different error every time I tried to install a package.

Offline

Board footer

Powered by FluxBB