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

已经按照文档中配置了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

你说的是 Buildroot 的 Qt demo 吧,要在 Buildroot 系统下使用。

我也想知道

我今天也碰到了