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

文章来自:http://www.cnblogs.com/EasonJim/p/7400532.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3