[vtkusers] use QVTKWidget
David Doria
daviddoria at gmail.com
Wed May 16 16:40:12 EDT 2012
On Wed, May 16, 2012 at 4:21 PM, Massi <Massinissa.Bandou at usherbrooke.ca> wrote:
> First, thank you for your help!
>
> It builds successfully but it crash when it comes to lunch before main() is
> executed. It shows:
> QWidget: Must construct a QApplication before a QPaintDevice
> I'm using "debug" mode and I added manually the missing
> libQVTKWidgetPlugin.dll in Qt designer.
> Is there something I forgot to do?
>
> Massi
The first line of main() in the example creates the QApplication that
it says you have not created. Have you tried this example exactly?
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance
David
More information about the vtkusers
mailing list