JabinQu 发表于 2021-1-26 18:14:29

Buildroot 编译固件及qt开发问题

使用Linux_SDK源码包,配置了qt5,编译出的固件启动没有桌面,qt程序启动失败
1.使用官方的Buildroot固件,启动能显示桌面。自己编译的显示不了界面,是编译需要配置什么吗?
2.将自己编译的qt程序放到烧写的官方Buildroot固件环境能够运行,但自己编译的Buildroot固件运行报错,依赖的库都正确,感觉问题就是图形界面的显示问题,不知该如何解决,求大神给点思路!!

Qt程序运行报错(指定平台Wayland):
Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, minimal, offscreen, vnc, wayland-egl, wayland.

使用其他插件报错

padmafeel 发表于 2022-11-7 20:39:51

本帖最后由 padmafeel 于 2022-11-11 15:25 编辑

this problem is a long long time here~~~

############Love and world peace no fight~~~~~~~~
Tesla told in New York Herald: I prefer to be remembered as the inventor who succeeded in abolishing war. That will be my highest pride.
http://www.teslacollection.com/tesla_articles/1898/new_york_herald/f_l_christman/tesla_declares_he_will_abolish_war (in middle section)

Albert Einstein: The release of atom power has changed everything except our way of thinking... the solution to this problem lies in the heart of mankind. If only I had known, I should have become a watchmaker.
https://atomictrauma.wordpress.com/the-scientists/albert-einstein

Artificial Intelligence Has an Enormous Carbon Footprint
https://www.analyticsvidhya.com/blog/2022/03/the-carbon-footprint-of-ai-and-deep-learning/
############Love and world peace no fight~~~~~~~~

I show the reason why
when ./build.sh buildroot many times and you can see what are different
run get error in target /usr/libexec/weston-desktop-shell

the aarch64-buildroot-linux-gnu-strip doing wrong thing
it's a critical bug
after you changing version will be ok
页: [1]
查看完整版本: Buildroot 编译固件及qt开发问题