QT / QT Creator / QWT / VTK on Windows
- Download/Install QT for windows (qt-win-opensource-4.8.4-vs2010.exe) NOTE: QT5 does NOT work with QWT.
- Download/Install QT Creator for windows (qt-creator-windows-opensource-2.6.1.exe)
- Download/Compile/Install QWT (http://qwt.sourceforge.net/qwtinstall.html)
- QWT checkout:
svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.0 qwt-6.0
- Open QT shell and execute:
cd qwt-6.0 qmake qwt.pro nmake nmake install cd examples qmake examples.pro nmake nmake install cd .. cd designer qmake designer.pro nmake nmake install
- Download VTK for windows (vtk-5.10.1.zip) (http://www.vtk.org/Wiki/VTK/Building/Windows)
- Run CMake against VTK code.
- Turn VTK_USE_QT on
- Turn BUILD_SHARED_LIBS on
- Follow steps at: http://www.vtk.org/Wiki/VTK/Building/Windows
- Edit Windows PATH and add: C:\Qt\4.8.4\lib;C:\Qwt-6.0.3-svn\lib;C:\Program Files (x86)\VTK\lib\vtk-5.10;C:\Qt\4.8.4\bin;C:\Program Files (x86)\VTK\bin
- Copy:
C:\Program Files (x86)\VTK\plugins\designer\QVTKWidgetPlugin.dll C:\Qwt-6.0.3-svn\plugins\designer\qwt_designer_plugin.dll To: C:\Qt\qtcreator-2.6.1\bin\designer