我已经按照说明安装了 qwt here .问题是编译器找不到 qwt header 。当我输入 #include <qwt_plot_h>
in mainwindow.cpp
文件,编译器给出错误:qwt_plot.h:No such file or directory.
最佳答案
您需要将其放入您的项目文件中:
CONFIG += qxt
QXT += core gui
您可以像这样调用 qmake,例如在 Windows 上:
qmake -set QMAKEFEATURES C:\Qwt-6.1.0\features
关于c++ - qt creator 看不到 qwt header ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23853500/