升级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)出现显示视频时卡顿
把编译模式Debug改为Release。
2.更换后效果,显示灰度图像周期约为14ms,与之前5.3.2版本时间相当,编译后程序大小由原来40+M,变为5.6M。

猜你喜欢

转载自www.cnblogs.com/aheng365/p/10429522.html