[vtkusers] Error in Compilation of Gui\Qt\Events Example

clinton at elemtech.com clinton at elemtech.com
Tue Oct 24 12:07:45 EDT 2006


> I get the following error when trying to compile the QtVtk examples from
> the GUI\Qt directory.  Except for the init function (which I dont see in
> the .ui.h file) , all the otehr errors should not be present.  The
> variables are declared in the gui.h file. Nevertheless I get the following
> error.
>
> Any clue as to what I should do ?  Or what may be the problem ?
>
> Thanks in advance,
> Emma
>
> :\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(39) : error C2039: 'init'
> : : is not a member of 'Form1'
>
>         C:/netprograms/VTK/Examples/GUI/Qt/Events/GUI.h(30) : see
> declaration of 'Form1'

That Qt example requires Qt 3.3.  You can still look at the code and see how 
to use the QVTKWidget in Qt 3.0.

Clint



More information about the vtkusers mailing list