Ubuntu 16.04安裝QtCharts時報錯:'qtConfig' is not a recognized test function.


錯誤:

'qtConfig' is not a recognized test function.

解決方法:

其實5.9分支的版本有問題,轉成5.7分支即可。

git clone https://github.com/qtproject/qtcharts.git
cd qtcharts
git checkout 5.7
qmake
make
sudo make install

 

參考:

http://php.wekeepcoding.com/article/10792742/Cross-compiling+QtDeclarative+for+raspberry+pi


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM