升级QT版本由5.3.2到5.9.3,升级过程中遇到问题

1.升级QT版本由5.3.2到5.9.3,升级过程中遇到问题
1)No such file or directory
移植时,不仅需要移植lib,还需要移植plugins等。
2)Application failed to start because it could not find or load the QT platform plugin “linux”
解决办法:export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
3)出现显示视频时卡顿,  fatal error: gnu/stubs-soft.h: No such file or directory   这两个问题
把编译模式Debug改为Release。
2.更换后效果,显示灰度图像周期约为14ms,与之前5.3.2版本时间相当,编译后程序大小由原来40+M,变为5.6M。

posted @ 2019-02-25 10:33  aheng365  阅读(2049)  评论(0编辑  收藏  举报