Firefly开源社区

打印 上一主题 下一主题

Buildroot 编译固件及qt开发问题

65

积分

0

威望

0

贡献

技术小白

积分
65

Buildroot 编译固件及qt开发问题

发表于 2021-1-26 18:14:29      浏览:6554 | 回复:1        打印      只看该作者   [复制链接] 楼主
使用Linux_SDK源码包,配置了qt5,编译出的固件启动没有桌面,qt程序启动失败
1.使用官方的Buildroot固件,启动能显示桌面。自己编译的显示不了界面,是编译需要配置什么吗?
2.将自己编译的qt程序放到烧写的官方Buildroot固件环境能够运行,但自己编译的Buildroot固件运行报错,依赖的库都正确,感觉问题就是图形界面的显示问题,不知该如何解决,求大神给点思路!!

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


使用其他插件报错
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 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
回复

使用道具 举报

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

本版积分规则

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