Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图包含 QtCharts,但是当我包含库时出现错误,这是错误:
项目错误:QT 中的未知模块:图表。
我在 *.pro 文件中包含了 QT += 图表,如下所示:
QT += charts greaterThan(QT_MAJOR_VERSION, 4): QT += charts SOURCES += \ source.cpp
但它不起作用。请帮我。
在安装过程中您必须启用Qt Charts. 默认情况下不启用此功能。:
Qt Charts
点击 Qt 图表: