Linux平台开机启动QT出错,手动运行正常

处理器平台:IMX6Q

操作系统:Linux 3.14.28

问题现象:

This application failed to start because it could not find or load the Qt platform plugin "xcb".


分析原因:

环境变量设置有问题。

解决办法:

将环境变量设置放在自动启动QT的脚本之前运行。

猜你喜欢

转载自blog.csdn.net/wuyusheng314/article/details/80248626