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。