[Exchange and share] qbittorrent-enhanced-edition appimage 问题
Tofloor
poster avatar
lchunghan
deepin
2023-06-14 08:19
Author

非常奇怪 什么都没动过。就20多个小时没开 然后 怎么点 qbittorrent-enhanced-edition appimage 都不会有反应了。

krita-5.1.5-x86_64.appimage 就好好的完全没有问题 。

然后各种程序点一边 发现 shotcut-linux-x86_64-230514.AppImage 也点不开 没有任何反应 。

我 有点懵 啊 !

Reply Favorite View the author
All Replies
lizipeng0013
deepin
2023-06-14 18:41
#1

终端运行看一下报错信息,发出来或许有人可以解答

Reply View the author
lchunghan
deepin
2023-06-14 21:07
#2
lizipeng0013

终端运行看一下报错信息,发出来或许有人可以解答

kunkun-PC:~$ '/home/kunkun/Downloads/qBittorrent-Enhanced-Edition-x86_64.AppImage'
/tmp/.mount_qBittopYvhh2/usr/bin/qbittorrent: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

Reply View the author
lizipeng0013
deepin
2023-06-14 21:35
#3
lchunghan

kunkun-PC:~$ '/home/kunkun/Downloads/qBittorrent-Enhanced-Edition-x86_64.AppImage'
/tmp/.mount_qBittopYvhh2/usr/bin/qbittorrent: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

发个软件下载地址,我去测试一下

Reply View the author
lchunghan
deepin
2023-06-14 21:49
#4
lizipeng0013

发个软件下载地址,我去测试一下

要不就这一个软件不能运行 ,要不整个一类全部都不能运行。

现在是 AppImage 这一类 ,两个不能运行 ,其他都好好的。

https://github.com/c0re100/qBittorrent-Enhanced-Edition/releases

https://www.shotcut.org/download/

Reply View the author
Feng Yu
deepin
2023-06-14 21:56
#5

AppImage build是由我维护的。因为编译加入了qt-wayland支持,这玩意依赖于opengl类库,因此你需要安装opengl运行库。这个在绝大多数桌面环境应该会作为依赖安装,我记得以前的DDE好像也会依赖opengl,如果没有的话说明目前版本的DDE去掉了opengl依赖,你需要自行安装回来就行了

sudo apt install -y libopengl0
Reply View the author
lizipeng0013
deepin
2023-06-14 22:13
#6

我问chatgpt都没问出来,给我的结果是安装 libglvnd0libgl1-mesa-glxlibglu1-mesa这几个包试一试,结果都没用

最后我搜索了libOpenGL.so.0,结果是libOpenGL.so.0是链接文件,链接到了libOpenGL.so.0.0.0,我再用apt-file搜索libOpenGL.so.0.0.0,最后搜索到libOpenGL.so.0.0.0是libopengl0这个包里的库文件

可以试一下安装libopengl0这个包:

sudo apt install libopengl0

不出意外的话(缺其它库),应该可以运行程序了

Reply View the author
lchunghan
deepin
2023-06-14 22:34
#7
Feng Yu

AppImage build是由我维护的。因为编译加入了qt-wayland支持,这玩意依赖于opengl类库,因此你需要安装opengl运行库。这个在绝大多数桌面环境应该会作为依赖安装,我记得以前的DDE好像也会依赖opengl,如果没有的话说明目前版本的DDE去掉了opengl依赖,你需要自行安装回来就行了

sudo apt install -y libopengl0

我前几天还能运行的 为什么就没了呢 !

已经解决谢谢 !

Reply View the author
lchunghan
deepin
2023-06-15 04:49
#8
Feng Yu

AppImage build是由我维护的。因为编译加入了qt-wayland支持,这玩意依赖于opengl类库,因此你需要安装opengl运行库。这个在绝大多数桌面环境应该会作为依赖安装,我记得以前的DDE好像也会依赖opengl,如果没有的话说明目前版本的DDE去掉了opengl依赖,你需要自行安装回来就行了

sudo apt install -y libopengl0

qt.qpa.wayland: No shell integration named "kwayland-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("kwayland-shell")
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.

(qbittorrent:23761): Gtk-WARNING **: 20:47:45.406: 无法在模块路径中找到主题引擎:“adwaita”,

(qbittorrent:23761): Gtk-WARNING **: 20:47:45.406: 无法在模块路径中找到主题引擎:“adwaita”,

大佬这有是什么情况啊 !

Reply View the author
Feng Yu
deepin
2023-06-15 06:24
#9
lchunghan

我前几天还能运行的 为什么就没了呢 !

已经解决谢谢 !

之前的老版本未加入qt-wayland插件,而qt-base的编译也加入了no-opengl选项,所以不依赖opengl,但是qt-wayland插件必须依赖opengl,没办法绕过了,如果你更新到最新的版本,必须要安装opengl和gtk2包。

如果你这期间更新过DDE,或者跨版本升级过也是有可能的,因为我记得以前的DDE是依赖opengl的,如果你新安装的V23不包含Opengl,那一定是新版本的DDE去掉了这个依赖,你做过升级的话可能给autoremove删掉opengl了

Reply View the author
Feng Yu
deepin
2023-06-15 06:26
#10
lchunghan

qt.qpa.wayland: No shell integration named "kwayland-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("kwayland-shell")
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.

(qbittorrent:23761): Gtk-WARNING **: 20:47:45.406: 无法在模块路径中找到主题引擎:“adwaita”,

(qbittorrent:23761): Gtk-WARNING **: 20:47:45.406: 无法在模块路径中找到主题引擎:“adwaita”,

大佬这有是什么情况啊 !

(qbittorrent:23761): Gtk-WARNING **: 20:47:45.406: 无法在模块路径中找到主题引擎:“adwaita”

这个警告可以无视,为了保持qt程序和当前系统桌面主题一致,甚至支持暗黑主题风格,我采用了qt6gtk2 方案,它会检测系统的gtk2主题和相关配置,如果你的系统没有安装相关的gtk主题就会有这个警告,但这个基本不影响使用,它最终会fallback到一个你当前系统可用的主题风格上去,甚至暗黑风格也没问题。

如果不想看到这个警告,只需要安装gtk2 adwaita主题即可:

sudo apt install -y gnome-themes-standard

不过这对于显示来说没什么影响。

qt.qpa.wayland: Loading shell integration failed.

这个错误是因为你系统中加载某个需要用到的类库出错了。而且是wayland组件的错误,应该是你使用了wayland协议。可能依赖的类库并不存在或者报了其他错误。这个其实也不会影响使用,因为wayland加载失败了,还是会fallback到x11协议上,而deepin应该是带有xWayland支持的,可以在wayland协议下运行x11保证x11兼容性。

可以加上环境变量 QT_DEBUG_PLUGINS=1 运行一下,看看是哪个地方出错了,例如:

QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-x86_64.AppImage

然后把终端输出复制过来

Reply View the author
Feng Yu
deepin
2023-06-15 08:28
#11

我在虚拟机装了个deepin V23确认了下,基本上确认问题了。

似乎是DDE当前的wayland支持用的是KDE wayland组件kwayland-shell,从依赖包也可以看到依赖了一些KDE的组件,而deepin当前的KDE都是基于qt5编译的,所以DDE依赖的这些qt都是qt5的,没有qt6支持,所以这个错误暂时无解,只能等DDE将自身的依赖都升级到qt6才能解决。

或者切换回X11也不会有这个问题。

KDE在Wayland下的毛病基本上DDE都有,比如显示分辨率的问题,比如在HIDPI下鼠标点击坐标和界面对不上的问题,尤其是终端拖拽选择文本的时候尤为明显,KDE直到现在都没完全解决,想要真正体验wayland的魅力还是建议换个直接基于Wayland开发的桌面环境吧,比如wayfire,hyprland之流的吧

Reply View the author
lchunghan
deepin
2023-06-15 17:38
#12
Feng Yu
(qbittorrent:23761): Gtk-WARNING **: 20:47:45.406: 无法在模块路径中找到主题引擎:“adwaita”

这个警告可以无视,为了保持qt程序和当前系统桌面主题一致,甚至支持暗黑主题风格,我采用了qt6gtk2 方案,它会检测系统的gtk2主题和相关配置,如果你的系统没有安装相关的gtk主题就会有这个警告,但这个基本不影响使用,它最终会fallback到一个你当前系统可用的主题风格上去,甚至暗黑风格也没问题。

如果不想看到这个警告,只需要安装gtk2 adwaita主题即可:

sudo apt install -y gnome-themes-standard

不过这对于显示来说没什么影响。

qt.qpa.wayland: Loading shell integration failed.

这个错误是因为你系统中加载某个需要用到的类库出错了。而且是wayland组件的错误,应该是你使用了wayland协议。可能依赖的类库并不存在或者报了其他错误。这个其实也不会影响使用,因为wayland加载失败了,还是会fallback到x11协议上,而deepin应该是带有xWayland支持的,可以在wayland协议下运行x11保证x11兼容性。

可以加上环境变量 QT_DEBUG_PLUGINS=1 运行一下,看看是哪个地方出错了,例如:

QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-x86_64.AppImage

然后把终端输出复制过来

谢谢 !

Reply View the author
lchunghan
deepin
2023-06-15 17:55
#13
It has been deleted!