ITK 4.8.1 Qt 5.4 MinGW 4.9.1 Configuration 配置
2015-11-10 05:41
435 查看
Download ITK 4.8.1
Download Qt 5.4 with MinGW 4.9.1
Download CMake 3.2.0
I assume you've already installed Qt 5.4 with MinGW 4.9.1 and CMake 3.2.0 correctly.
Please intall and configure VTK before the following steps, here is the blog for VTK: VTK 6.3.0 Qt 5.4 MinGW 4.9.1 Configuration 配置.
Start CMake 3.2.0, fill the source and destination:
source: C:/ITK4.8.1/InsightToolkit-4.8.1
destination: C:/ITK4.8.1/build
Click Configure and use MinGW Makefiles to complie.
When first configure is done, select Grouped and Advanced.
click Configure again.
After configure is done (No errors show), click Generate.
Go back to your build folder, open command line, type: mingw32-make
Wait a long time for make process, have a cup of coffee :)
After make is done, type mingw32-make install
Now, the configuration is done, enjoy it :)
References:
http://qtitkvtkhelp.blogspot.com/2013/06/image-display-on-vtk-viewers.html
http://blog.csdn.net/numit/article/details/9985045
http://46aae4d1e2371e4aa769798941cef698.devproxy.yunshipei.com/q1302182594/article/details/45955563
Download Qt 5.4 with MinGW 4.9.1
Download CMake 3.2.0
I assume you've already installed Qt 5.4 with MinGW 4.9.1 and CMake 3.2.0 correctly.
Please intall and configure VTK before the following steps, here is the blog for VTK: VTK 6.3.0 Qt 5.4 MinGW 4.9.1 Configuration 配置.
Start CMake 3.2.0, fill the source and destination:
source: C:/ITK4.8.1/InsightToolkit-4.8.1
destination: C:/ITK4.8.1/build
Click Configure and use MinGW Makefiles to complie.
When first configure is done, select Grouped and Advanced.
BUILD_EXAMPLES [ON] BUILD_TEST [ON] CMAKE_INSTALL_PREFIX [C:/ITK4.8.1/MinGW] ITKV3_COMPATIBILITY [ON] Module_ITKVtkGlue [ON] VTK_DIR [C:/VTK6.3.0/MinGW/lib/cmake/vtk-6.3] Module_ITKReview [ON]
click Configure again.
After configure is done (No errors show), click Generate.
Go back to your build folder, open command line, type: mingw32-make
Wait a long time for make process, have a cup of coffee :)
After make is done, type mingw32-make install
Now, the configuration is done, enjoy it :)
References:
http://qtitkvtkhelp.blogspot.com/2013/06/image-display-on-vtk-viewers.html
http://blog.csdn.net/numit/article/details/9985045
http://46aae4d1e2371e4aa769798941cef698.devproxy.yunshipei.com/q1302182594/article/details/45955563
相关文章推荐
- Qt 扁平化MainWindow以及自定义标题栏
- 将QT开发的界面程序封装成DLL,在VC中成功调用
- QTableView中嵌入复选框CheckBox 的四种方法总结
- Qt中事件处理的方法(三种处理方法,四种覆盖event函数,notify函数,event过滤,事件处理器。然后继续传递给父窗口。可观察QWidget::event的源码,它是虚拟保护函数,可改写)
- Qt中事件分发源代码剖析(一共8个步骤,顺序非常清楚:全局的事件过滤器,再传递给目标对象的事件过滤器,最终传递给目标对象)
- 记录一些可以查询Qt资料的地址
- QT+openGL
- Qt从零开始制作串口调试助手-(第四章、新建“串口配置界面”和“关于界面”)-Creator_Ly
- 三维绘图之OpenGL和Qt的结合
- OpenGL_Qt学习笔记之_07(闪烁的星星)
- OpenGL_Qt学习笔记之_06(纹理滤波、光照和色彩融合)
- OpenGL_Qt学习笔记之_05(纹理映射)
- OpenGL_Qt学习笔记之_04(3D图形的绘制和旋转)
- OpenGL_Qt学习笔记之_03(平面图形的着色和旋转)
- OpenGL_Qt学习笔记之_02(绘制简单平面几何图形)
- OpenGL_Qt学习笔记之_01(创建一个OpenGL窗口)
- Qt从零开始制作串口调试助手-(第三章、菜单栏和工具栏添加)-Creator_Ly
- 欢迎使用CSDN-markdown编辑器
- qt 中窗口以及窗口部件背景图案的设置
- PyQt4 学习笔记7之拖放