错误:
'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