Ubuntu 16.04 Qt5安装qtcharts

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012123768/article/details/77628567

Qtcreator5.5安装qchart,首先下载qtcharts,然后进入该路径下,qmake一下。

$git clone https://github.com/qtproject/qtcharts.git

$cd qtcharts

$qmake

这时会出现问题是’qtConfig’ is nit a recongnized test function

这时输入:

$git checkout 5.7

出来:Brach 5.7 set up to track remote brach 5.7 from origin.

Switch to a new brach ‘5.7’

这时再输入

$ qmake

扫描二维码关注公众号,回复: 2961854 查看本文章

就没有问题了,然后就可以继续了,得等一会儿。

$make

$sudo make install

需要注意的是,安装qtcharts需要qt在5.4版本以上哟。

猜你喜欢

转载自blog.csdn.net/u012123768/article/details/77628567