[vtkusers] opening QVTKWidget in Qt
prathameshmkulkarni at gmail.com
Wed Jun 30 14:50:15 EDT 2010
Al I am getting in a debud build of vtk is the following:
in the directory C:\VTK\bin\GUISupport\Qt\QVTKWidgetPlugin.dir\Debug:
However, none of these is helping me, in any way to have a QVTKWidget
in my .ui file. I get the same error : Cannot open include file
QVTKWidget.h: no such file or directory. :(
On Wed, Jun 30, 2010 at 10:50 AM, Prathamesh Kulkarni
<prathameshmkulkarni at gmail.com> wrote:
> Hello all,
> I have built vtk with USE_QT flag on.
> I want to create a vtk-Qt hybrid GUI in Qt creator and use the .ui
> file in my C++ project.
> Now, what I do is:
> 1. Open a new mainwindow form in Qt Creator
> 2. Add a QWidget to it and promote it to QVTKWidget
> I have the following issues:
> 1. When run the project, I get the error: Cannot open include file
> QVTKWidget.h. Copying this file to the project directories gives me
> other such similar errors.
> 2. I tried to search for libQVTKWidget.dll but did not find one.
> 3. When I open an example UI file from VTK/.../Examples in Qt Creator,
> it runs without any error.
> 4. Does this have to do anything with debug vs release build of vtk
> and/or Qt? I have build both in debug mode.
> I have read the related previous topics on the mailing list, but that
> did not help me.
> I cannot move ahead with developing my application due to this bottleneck.
> Any help is appreciated.
More information about the vtkusers