Firefly开源社区

打印 上一主题 下一主题

[技术讨论] 请问官方的QT Demo程序mainwindow都不能运行是怎么回事啊?

11

积分

0

威望

0

贡献

技术小白

积分
11

请问官方的QT Demo程序mainwindow都不能运行是怎么回事啊?

发表于 2020-10-8 04:16:39      浏览:2893 | 回复:3        打印      只看该作者   [复制链接] 楼主
已经按照文档中配置了QT,运行的时候会报错误,找不到libmali.so.1,我创建了一个连接/usr/lib/arm-linux-gnueabihf/libmali.so.1 => /usr/lib/arm-linux-gnueabihf/libmali.so,不报错了可是
```
$ ./mainwindow -platform wayland
This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "/usr/lib/qt/plugins/".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

```

如果运行./mainwindow -platform eglfs
又会报找不到.xdg路径的错,手动建立文件夹之后再运行则报错如下:
```
./mainwindow: relocation error: ./mainwindow: symbol _ZN18QRandomGenerator646globalEv version Qt_5 not defined in file libQt5Core.so.5 with link time reference
```
系统版本:Ubuntu 18.04.1

回复

使用道具 举报

1306

积分

0

威望

0

贡献

中级创客

Rank: 4

积分
1306
发表于 2020-10-19 18:08:05        只看该作者  沙发
你说的是 Buildroot 的 Qt demo 吧,要在 Buildroot 系统下使用。
回复

使用道具 举报

72

积分

0

威望

0

贡献

技术小白

积分
72
发表于 2020-10-20 07:56:49        只看该作者  板凳
我也想知道
回复

使用道具 举报

83

积分

0

威望

0

贡献

技术小白

积分
83
发表于 2022-4-2 10:55:42        只看该作者  地板
我今天也碰到了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表