按照官网(http://www.qcustomplot.com/index.php/tutorials/settingup)上的说明,使用QCustomPlot进行绘图。
在designer 中【提升为...】之后编译,目前出现以下错误:
D:\MyQt\Ver_5_09\build-HamcMesr-Desktop_Qt_5_4_0_MSVC2013_OpenGL_64bit-Debug\ui_mainwindow.h:42: error: C1083: 无法打开包括文件: “qcustomplot.h”: No such file or directory
双击该错误后,发现在ui.mainwindow.h文件中出现
#include <qcustomplot.h>
改为
#include “qcustomplot.h”
重新编译,错误消失。
但如果删除了ui.mainwindow.h文件,每次重新编译,就都会重新出现这个错误,新手求解决方法,谢谢!