8mp linux系统在root用户,命令行运行某些qt应用会报错,可以通过以下方案解决: 1、/*命令行运行示例:*/ root@imx8mpevk:~# test-browser 2、/*报错的打印信息*/ Using Wayland-EGL [1270:1270:0727/114441.047982:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. 3、/*修改执行命令参数*/ root@imx8mpevk:~# test-browser --no-sandbox 4、/*打印信息正常,应用顺利启动*/ Using Wayland-EGL Using the 'xdg-shell' shell integration [...] |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-9 04:37
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.