[vtkusers] QVTKWidget with VTK in debug mode

David Doria daviddoria at gmail.com
Tue Nov 30 15:02:31 EST 2010


Is it possible to use QVTKWidget in Qt Designer when VTK is built in debug mode?

Procedure 1 (broken):

1) Build VTK in debug mode
2) Copy QVTKWidgetPlugin.lib and QVTKWidgetPlugin.dll from
C:\bin\VTK\bin\Debug to C:\Qt\4.7.0\plugins\designer
3) Open Qt Designer - it crashes immediately

Procedure 2 (working):

1) Build VTK in release mode
2) Copy QVTKWidgetPlugin.lib and QVTKWidgetPlugin.dll from
C:\bin\VTK\bin\Debug to C:\Qt\4.7.0\plugins\designer
3) Open Qt Designer - it works fine

Is this supposed to work?

Thanks,

David



More information about the vtkusers mailing list