当我在应用程序上运行qmake时出现错误
Unknown module(s) in QT: charts
我正在Windows 7上使用Qt Creator 4.8(企业)和Qt库5.12。
我的。pro文件具有以下行:
QT += core gui charts
在我的源文件中,包括这样的ChartView:
#include <QtCharts/QChartView>
...
但是,当我运行QT附带的一个演示示例并具有类似的include时,该程序将编译并运行良好。正在运行示例,请参见:
..Qt5.12.0\Examples\Qt-5.12.0\charts\donutchart
我的申请中缺少什么?
问候,
保罗