[vtkusers] How to Install Q4VTKWidgetPlugin for QT Creator

John Drescher drescherjm at gmail.com
Mon Feb 13 08:55:31 EST 2012


On Sun, Feb 12, 2012 at 8:10 PM, Ahmad <falahatpisheh at gmail.com> wrote:
> Hi All,
>
> Does anyone know how Q4VTKWidgetPlugin (.cxx and .h) can be installed in QT
> Creator so that QVTKWidget can be inserted from the toolbox in QT Creator?
> The source and header files are in GUISupport\Qt folder in VTK. I am using
> QT4.8.0, VTK 5.8.0, and Visual Studio 2008.
>
> The reason I want to install this plugin is that even when I /promote
> /QWidget to QVTKWidget in QT Creator, I will get the build error:
> "c:\qt projects\recongui\ui_mainwindow.h:27: error: C1083: Cannot open
> include file: 'qvtkwidget.h': No such file or directory".
> I thought installing that plugin may resolve this problem.
>

Isn't Qt creator compiled with itself? I would believe if you wanted
to integrate QVTKWidget into QtCreator you need to compile VTK using
QtCreator not Visual Studio.

John



More information about the vtkusers mailing list