说明:
buildroots根文件中已经移植好了QT的库,但是运行QT交叉编译之后的可执行文件报错:
qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
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.
解决方法:
在自己的buildroots根文件系统etc文件夹下面
打开【profile文件】,添加如下内容:
export QT_QPA_PLATFORM=linuxfb