[Community Announcements] 关于升级20.2版本后,因qt5模块库导致软件无法使用的解决办法
Tofloor
poster avatar
deepin-mq
deepin
2021-04-04 19:34
Author

收到部分用户反馈,升级到20.2版本后,出现无法找到qt5模块库的情况,导致软件无法使用。

 

初步分析原因,可能是因为之前安装了专业版或个人版的组件导致,

之前的组件是基于qt5.11的环境编译,虚包还是qt5.11的API接口,当前底层包已经变更为qt5.15的环境。

 

如碰到此类情况,只需使用apt policy 命令查看对应仓库包名版本,重新安装后即可正常使用

 

拿deepin-mail应用举例:

 

· 出现以下提示:

 

deepin-mail: relocation error: deepin-mail: symbol _ZN9QListView11eventFilterEP7QObjectP6QEvent version Qt_5 not defined in file libQt5Widgets.so.5 with link time reference

 

· 解决方法:

 

1、找到deepin-mail的仓库版本;

 

apt policy deepin-mail

 

2、重新安装。

 

sudo apt install deepin-mail=5.2.0.31-1

 

 

Reply Favorite View the author
Comments
poster avatar
loaden
2021-04-06 16:52
发的这个解决方案只对DDE软件有效,对源里基于Qt5.11开发的软件是无效的。
All Replies
1 / 2
To page
说书人
deepin
2021-04-04 20:13
#1

vlc也是这个问题,暂时我用snap版本来应对了

Reply View the author
Fredoong
deepin
2021-04-04 21:46
#2

主仓库里的vlc(版本3.0.11.1-1)打不开,但是并不能通过重装vlc解决问题。

main libvlc warning: cannot load module `/usr/lib/x86_64-linux-gnu/vlc/plugins/gui/libqt_plugin.so' (/usr/lib/x86_64-linux-gnu/vlc/plugins/gui/libqt_plugin.so: symbol _ZN9QListView11eventFilterEP7QObjectP6QEvent version Qt_5 not defined in file libQt5Widgets.so.5 with link time reference)

 

小尾巴~~~专属于Deepin平台开发者的QQ群 792593947

Reply View the author
Hello
deepin
2021-04-05 00:15
#3
Fredoong

主仓库里的vlc(版本3.0.11.1-1)打不开,但是并不能通过重装vlc解决问题。

main libvlc warning: cannot load module `/usr/lib/x86_64-linux-gnu/vlc/plugins/gui/libqt_plugin.so' (/usr/lib/x86_64-linux-gnu/vlc/plugins/gui/libqt_plugin.so: symbol _ZN9QListView11eventFilterEP7QObjectP6QEvent version Qt_5 not defined in file libQt5Widgets.so.5 with link time reference)

 

小尾巴~~~专属于Deepin平台开发者的QQ群 792593947

这个只能通过重新编译解决

Reply View the author
mgmpk
deepin
2021-04-05 00:30
#4

我的 浩辰CAD 2021 无法打开 ,咋办?指条明路,急

Reply View the author
Comments
hellohjh
2021-04-07 19:04
1 打开目录:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms 2 复制libqxcb.so文件 3 进入目录:/opt/apps/com.gstarcad.cad/files/qtplugins/platforms 4 粘贴替换这里面的libqxcb.so文件
相信
deepin
2021-04-05 01:22
#5

我的按照官方紧急教程升级后,出现登录界面,输入密码对话框,死循环。

Reply View the author
widon1104
deepin
2021-04-05 02:03
#6
相信

我的按照官方紧急教程升级后,出现登录界面,输入密码对话框,死循环。

tty里面 sudo apt full-upgrade,看看行吗

Reply View the author
callcz
deepin
2021-04-05 03:06
#7
It has been deleted!
callcz
deepin
2021-04-05 03:33
#8
说书人

vlc也是这个问题,暂时我用snap版本来应对了

snap不好用,中文显示口口

不如下载原码重新编译。

sudo apt update
sudo apt uprgade
mkdir -p ~/build/vlc &&cd ~/build/vlc
sudo build-dep vlc
apt source vlc
cd vlc*
dpkg-buildpackage -us -uc
sudo dpkg -i $(ls ../*.deb |grep -v dbgsym|xargs)
sudo apt -f install
sudo apt-mark hold vlc-plugin-qt

 

Reply View the author
Comments
临之
2021-05-11 02:11
感谢!
观摩
deepin
2021-04-05 05:14
#9

美图秀秀

'/opt/apps/com.meitu.mtxx/files/bin/mtxx.sh'
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted

Reply View the author
wcs4221
deepin
2021-04-05 16:36
#10

支持一下。

Reply View the author
说书人
deepin
2021-04-05 17:18
#11
callcz

snap不好用,中文显示口口

不如下载原码重新编译。

sudo apt update
sudo apt uprgade
mkdir -p ~/build/vlc &&cd ~/build/vlc
sudo build-dep vlc
apt source vlc
cd vlc*
dpkg-buildpackage -us -uc
sudo dpkg -i $(ls ../*.deb |grep -v dbgsym|xargs)
sudo apt -f install
sudo apt-mark hold vlc-plugin-qt

 

多谢指导,编译成功

Reply View the author
ytl-0898
deepin
2021-04-06 05:24
#12
mgmpk

我的 浩辰CAD 2021 无法打开 ,咋办?指条明路,急

和你的一样我也打不开

Reply View the author
o0******00@163.com
deepin
2021-04-06 05:30
#13
ytl-0898

和你的一样我也打不开

———————————————————————————— 升级5.8内核
sudo apt-get install linux-image-5.8.14-amd64-desktop
sudo apt-get install linux-headers-5.8.14-amd64-desktop
重启选择5.8内核
________________________________________________________升级内核5.10
sudo apt install linux-image-deepin-stable-amd64 linux-headers-deepin-stable-amd64
 
把内核降下来,试试,看看行不行。我也不知道能不能行。不行或是行 回我一句。
Reply View the author
许自强
deepin
Ecological co-builder
2021-04-06 07:48
#14

这类通知是不是可以推送到系统的设置那一栏?

Reply View the author
ytl-0898
deepin
2021-04-06 16:18
#15
o0******00@163.com
———————————————————————————— 升级5.8内核
sudo apt-get install linux-image-5.8.14-amd64-desktop
sudo apt-get install linux-headers-5.8.14-amd64-desktop
重启选择5.8内核
________________________________________________________升级内核5.10
sudo apt install linux-image-deepin-stable-amd64 linux-headers-deepin-stable-amd64
 
把内核降下来,试试,看看行不行。我也不知道能不能行。不行或是行 回我一句。

降内核也不行

Reply View the author
156******72
deepin
2021-04-06 17:11
#16

钉钉现在登录后就消失啦,不知道啥情况

Reply View the author
Hello
deepin
2021-04-06 20:42
#17
ytl-0898

降内核也不行

我们社区的家伙替换了一些qt组件,都能跑了,新包很快就上了,别急

Reply View the author
ytl-0898
deepin
2021-04-07 02:31
#18
Hello

我们社区的家伙替换了一些qt组件,都能跑了,新包很快就上了,别急

还准备从装20.1呢,看来不用了,继续用,等侍解决方法

Reply View the author
hellohjh
deepin
2021-04-07 19:02
#19
ytl-0898

和你的一样我也打不开

1 打开目录:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms

2 复制libqxcb.so文件

3 进入目录:/opt/apps/com.gstarcad.cad/files/qtplugins/platforms

4 粘贴替换这里面的libqxcb.so文件

Reply View the author
hellohjh
deepin
2021-04-07 19:02
#20
mgmpk

我的 浩辰CAD 2021 无法打开 ,咋办?指条明路,急

1 打开目录:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms

2 复制libqxcb.so文件

3 进入目录:/opt/apps/com.gstarcad.cad/files/qtplugins/platforms

4 粘贴替换这里面的libqxcb.so文件

Reply View the author
1 / 2
To page