VTK/Tutorials/QtSetup: Difference between revisions

From KitwarePublic
< VTK‎ | Tutorials
Jump to navigationJump to search
No edit summary
No edit summary
Line 20: Line 20:
Download and install Qt.
Download and install Qt.
http://qt.nokia.com/downloads/windows-cpp-vs2008
http://qt.nokia.com/downloads/windows-cpp-vs2008
Copy QVTKWidgetPlugin.lib and QVTKWidgetPlugin.dll from C:\bin\VTK\bin\Debug to C:\Qt\4.7.0\plugins\designer

Revision as of 12:03, 4 November 2010

All systems=

You must turn on

VTK_USE_QT 
VTK_USE_GUISUPPORT

and

BUILD_SHARED_LIBS
in the advanced VTK build configuration.

Linux

sudo yum install qt*

(or equivalent)

To use QVTKWidget in the QT4 Designer, you must:

sudo cp ~/bin/VTK/bin/libQVTKWidgetPlugin.so /usr/lib/qt4/plugins/designer

Windows

Download and install Qt. http://qt.nokia.com/downloads/windows-cpp-vs2008

Copy QVTKWidgetPlugin.lib and QVTKWidgetPlugin.dll from C:\bin\VTK\bin\Debug to C:\Qt\4.7.0\plugins\designer