0
为了在我的C++项目中显示图表,我想使用QWT和Qt。我已经从sourceforge下载了最新版本的QWT,并且我已经从官方网页下载了MSVC2008(我的编译器)的Qt库4.8.1。现在我想安装QWT,但我无法完成安装。我在SO上找到的线程无法解决我的问题。QWT安装错误 - nmake失败
这是因为文档中解释QWT安装:
F.e Qt >= 3.0, MSVC with nmake:
qmake qwt.pro
nmake
cd examples
qmake examples.pro
nmake
我启动QMAKE从Qt的4.8.1命令提示符,它创建三个*的Makefile * S。现在我应该启动nmake,但nmake失败,但无法找到任何Qt头文件。我从Visual Studio命令提示符调用nmake。
c:\program files (x86)\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory
qwt_plot_curve.cpp
c:\program files (x86)\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory
qwt_plot_grid.cpp
c:\program files (x86)\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory
qwt_plot_item.cpp
c:\program files (x86)\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory
Generating Code...
Compiling...
qwt_plot_print.cpp
src\qwt_plot_print.cpp(14) : fatal error C1083: Cannot open include file: 'qpaintdevicemetrics.h': No such file or directory
我该怎么做?我应该如何安装QWT以便它看到我的Qt包含文件?
预先感谢您!