瑞芯微Rockchip开发者社区
直播中

vinww特烦恼

8年用户 1088经验值
擅长:存储技术
私信 关注
[问答]

请问下RK3568J buildroot怎么从wayland切换到eglfs呢

你好,我这边不希望使用wayland桌面,只使用eglfs

按说明关闭桌面系统/etc/init.d/S50launcher stop
然后运行QT系统,

/var/quicknanobrowser -platform eglfs

提示

qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialzed. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, wayland-egl, ayland.

重新运行

/var/quicknanobrowse -platform wayland-egl

提示

Failed to create wl_display (No such file or directory)
qt.qpa.wayland: Failed to initialize EGL display 3001
qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" 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.

回帖(4)

杜喜喜

2022-12-21 15:40:20
默认没有添加 eglfs 的插件,需要找下相关的包,添加后重新编译 Buildroot;
使用 wayland 插件,要先运行 weston 后台,看下脚本 /etc/init.d/S50launcher;
1 举报

vinww特烦恼

2022-12-21 15:40:31
请问下有具体的操作步骤吗?我makemenuconfig 没发现有这部分的配置
举报

杜喜喜

2022-12-21 15:40:41
搜下 eglfs,选上需要的包
举报

贾飞世

2022-12-21 15:40:49
要配置这个环境变量的:export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins
然后在/usr/lib/qt/plugins/platfroms/下需要有一个libqeglfs.so库,才能使用eglfs。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分