[Topic DIscussion] 解决了一些问题后掐脖子问题,关键词:cmake /latte-dock/Qt
Tofloor
poster avatar
hanoch0505
deepin
2021-04-23 02:44
Author

继上次问题

这次问题如下:(部分报错)

/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5.54.0: undefined reference to `QFutureInterfaceBase::mutex(int) const@Qt_5'

/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.54.0: undefined reference to `QRadialGradient::~QRadialGradient()@Qt_5'

/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.54.0: undefined reference to `QTreeWidgetItem::setExpanded(bool)@Qt_5'

collect2: error: ld returned 1 exit status

make[2]: *** [app/CMakeFiles/latte-dock.dir/build.make:1112:app/latte-dock] 错误 1

make[1]: *** [CMakeFiles/Makefile2:1388:app/CMakeFiles/latte-dock.dir/all] 错误 2

make: *** [Makefile:146:all] 错误 2

 

Reply Favorite View the author
All Replies
avatar
hanoch0505
deepin
2021-04-23 02:56
#1

需要一个思路....

Reply View the author
avatar
忘记、过去
deepin
2021-04-23 06:04
#2

这种错误......我怀疑是因为底层升级到了 Qt 5.15.1 导致的......估计源里面 KF5 相关的 dev 包没有一起更新,所以编译出错了......

 

估计想解决的话你得整个 UOS 或者 Deepin 20.1 的机器编译一遍再整到 20.2 上运行测试了......

(以上为盲猜,具体咋样就不清楚了......)

Reply View the author
avatar
hanoch0505
deepin
2021-04-23 08:00
#3
忘记、过去

这种错误......我怀疑是因为底层升级到了 Qt 5.15.1 导致的......估计源里面 KF5 相关的 dev 包没有一起更新,所以编译出错了......

 

估计想解决的话你得整个 UOS 或者 Deepin 20.1 的机器编译一遍再整到 20.2 上运行测试了......

(以上为盲猜,具体咋样就不清楚了......)

很麻烦那,我现在就是最新版的v20.2,是从20.1升上来的。这样,我就请教你一下,这个latte-dock在deepin上安装有啥好方法不

Reply View the author