VTK/Tutorials/QtSetup: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Daviddoria (talk | contribs) (Created page with 'You must turn on VTK_USE_QT and VTK_USE_GUISUPPORT in the advanced VTK build configuration. To use QVTKWidget in the QT4 Designer, you must: sudo cp ~/bin/VTK/bin/libQVTKWidge…') |
Daviddoria (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
You must turn on VTK_USE_QT and | =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: | To use QVTKWidget in the QT4 Designer, you must: | ||
sudo cp ~/bin/VTK/bin/libQVTKWidgetPlugin.so /usr/lib/qt4/plugins/designer | 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 |
Revision as of 02:29, 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