我完全无法在 Wayland 中启动等离子,此时我完全迷失了。
我尝试过的步骤:
- 指定
QT_QPA_PLUGIN="xcb;wayland-org.kde.kwin.qpa"
/etc/environment
- 重新安装
qtwayland5
,qt6-wayland
- 安装所有可能的 qt 平台插件(这可能就是我最终选择 wayland-org.kde.kwin.qpa 的原因)
- 重新安装 kwin
似乎什么都没起作用。但是,在指定QT_DEBUG_PLUGINS=1
后/etc/environment
,我发现了这一点:
Jan 11 12:07:39 prizm kwin_wayland_wrapper[59248]: QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
Jan 11 12:07:39 prizm kwin_wayland_wrapper[59248]: Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so: (/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so: undefined symbol: _ZN15QPlatformWindow17startSystemResizeERK6QPointN2Qt6CornerE, version Qt_5_PRIVATE_API)
Jan 11 12:07:39 prizm kwin_wayland_wrapper[59248]: QLibraryPrivate::loadPlugin failed on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so" : "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so: (/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so: undefined symbol: _ZN15QPlatformWindow17startSystemResizeERK6QPointN2Qt6CornerE, version Qt_5_PRIVATE_API)"
Jan 11 12:07:39 prizm kwin_wayland_wrapper[59248]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland-org.kde.kwin.qpa" in "" even though it was found.
Jan 11 12:07:39 prizm kwin_wayland_wrapper[59248]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Jan 11 12:07:39 prizm kwin_wayland_wrapper[59248]: Available platform plugins are: wayland-org.kde.kwin.qpa, dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb, wayland-org.kde.kwin.qpa.
不管是什么,问题似乎是 wayland-org.kde.kwin.qpa。我找不到这个软件包,所以我很好奇是否有人可以帮忙。
软件/操作系统版本
Linux:Kubuntu 23.10
KDE Plasma 版本:5.27.10
KDE Frameworks 版本:5.112.0
Qt 版本:5.15.10
内核:6.5.0-14-generic(64 位)
附加信息
<!!!> 我也有 KDE Backports PPA,它允许我保持 KDE 套件的更新。我怀疑这可能是我遇到此问题的原因,并且可能应该在 Plasma 6 中创建一个全新安装。