[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
2 / 2
To page
sukanka
deepin
2021-04-07 22:22
#21

如果不用软件包带的库,就不会有问题

Reply View the author
bsidb1
deepin
2021-04-09 20:47
#22

从商店安装的为知笔记(cn.wiz.wiznote)也有类似的问题,通过重新安装的方法并不能修复。

Reply View the author
christinatioss
deepin
2021-04-10 19:26
#23

赶快推送修复更新

Reply View the author
scyllake
deepin
2021-04-14 22:08
#24

我的整完,系统直接无用了,系统文件全部只读了,设置 关机全部无效了

Reply View the author
linux_wxd
deepin
2021-04-15 16:52
#25

qt的设计师模块开始不能正常打开设计师模块,什么时候能解决呀。

Reply View the author
bsidb1
deepin
2021-04-17 16:29
#26

建议商店里用到Qt的软件(例如为知笔记)尽快用新Qt版本编译。

Reply View the author
guaiwawa09
deepin
2021-04-20 23:57
#27

我就问一句,为知笔记怎么处理?自己编译完也报这个错!心烦死。

Reply View the author
linux_wxd
deepin
2021-04-21 00:41
#28
bsidb1

建议商店里用到Qt的软件(例如为知笔记)尽快用新Qt版本编译。

卸载之前的qt了,然后从应用商店重新安装qt也不行

Reply View the author
linux_wxd
deepin
2021-04-21 00:41
#29

卸载之前的qt了,然后从应用商店重新安装qt也不行

Reply View the author
callcz
deepin
2021-04-21 21:30
#30
linux_wxd

卸载之前的qt了,然后从应用商店重新安装qt也不行

不知道你有没有搞错,像qt这样的库就不可能卸载得了,N多依赖无法解决。

Reply View the author
linux_wxd
deepin
2021-04-21 23:30
#31
callcz

不知道你有没有搞错,像qt这样的库就不可能卸载得了,N多依赖无法解决。

点击开始菜单里面的qtcreator,右击卸载

Reply View the author
callcz
deepin
2021-04-28 01:29
#32

qtcreator是个工具软件,不是库

libqt5*才是qt的运行库

Reply View the author
oliverwang
deepin
2021-04-29 06:37
#33

终于把我折腾到Manjaro了,折腾不起,dock栏太难受,升级老出问题.什么时候稳定,什么时候切换回来.

Reply View the author
linux_wxd
deepin
2021-04-29 17:52
#34

更新完qtcreator,还是打不开ui文件

Reply View the author
cc123489
deepin
2021-04-29 22:26
#35
The user is banned, and the content is hidden.
Kaiser
deepin
2021-05-15 16:52
#36

升级了20.2.1, VLC无法正常启动了,这问题还没有解决方案吗?   @ deepin-mq

VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72)
[0000000001005580] 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)                                                                                     
[0000000001005580] main libvlc: 正在以默认界面运行 vlc。使用“cvlc”可以无界面模式使用 vlc。
[00000000010f98c0] skins2 interface error: cannot instantiate dialogs provider
Reply View the author
2 / 2
To page