移植Qt5.7在开发板上运行Qt程序提示This application failed to start because it could not find or load the Qt platfo

./LinuxAGV
This application failed to start because it could not find or load the Qt platform plugin "linux #eglfs"
in "".

Available platform plugins are: linuxfb, minimal, offscreen.

Reinstalling the application may fix this problem.

Aborted


解决办法:在profile中配置加入$QTDIR/plugins/platforms:

export QTDIR=/Qt/Qt5.7
export LD_LIBRARY_PATH=$QTDIR/lib:$QTDIR/plugins/imageformats:$QTDIR/plugins/platforms:$LD_LIBRARY_PATH


你可能感兴趣的:(嵌入式,交叉编译)