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

posted @ 2017-08-20 16:53  EasonJim  阅读(3863)  评论(0编辑  收藏  举报