C++ プロジェクトでチャートを表示するために、 QWTをQtで使用したいと考えています。sourceforgeから最新バージョンのQWTをダウンロードし、公式 Web ページから MSVC2008 (私のコンパイラ) 用の Qt ライブラリ 4.8.1 をダウンロードしました。QWTをインストールしたいのですが、インストールを完了できません。SO で見つけたスレッドでは、問題は解決しませんでした。
これは、 QWTのドキュメントで説明されているインストールです。
F.e Qt >= 3.0, MSVC with nmake:
qmake qwt.pro
nmake
cd examples
qmake examples.pro
nmake
Qt 4.8.1 コマンド プロンプトからqmakeを起動すると、3 つの *Makefile* が作成されます。今度はnmakeを起動することになっていますが、 Qtヘッダー ファイルを見つけることができずにnmakeが失敗します。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
私は何を間違っていますか?Qtインクルード ファイルが認識されるようにするには、QWTをどのようにインストールすればよいですか?
前もって感謝します!