
弄好了,designer里可以拖了。
换了Qwt-5.2.1
编辑qwtconfig.pri
修改为
win32 {
#CONFIG += debug # release/debug/debug_and_release
#CONFIG += debug_and_release
CONFIG += build_all
}
else {
CONFIG += release # release/debug
}
}
在环境变量里添加D:\Qwt-5.2.1\lib;
把文件qwtd5.dll复制到QT\4.8.4\bin里
在自己项目中在.pro文件里加上:
DEFINES +=
QT_DLL
QWT_DLL
LIBS += -lqwt5
INCLUDEPATH += f:/Qt/include/qwt