没有规则来制作目标 'QtCharts/QChartView>','ui_display.h' 需要停止

问题描述

我正在使用 Qt 5.12.5 并在 Qt 设计器中添加插件 QtCharts::QChartView。但是当我编译项目时,出现以下错误:

:-1: error: No rule to make target 'QtCharts/QChartView>',needed by 'ui_display.h'.  Stop.

似乎qt无法编译模块QtCharts/QChartView。有什么建议吗?

我已经

  • 使用 QtMaintainer 安装了 Qt Charts 和 Qt Data Visualization
  • 在 .pro 文件中添加 QT += charts

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)