[vtkusers] QVTKWidget compile problems at version 1.10 ( error and solution )

Wagner Sales wsalles2003 at yahoo.com.br
Tue May 17 15:47:06 EDT 2005


Hi all,

I was updated my workcopy from cvs today and have some following problems:

/data3/2.0a/Qt/QVTKWidget.cxx: In member function `void
   QVTKWidget::SetRenderWindow(vtkRenderWindow*)':
/data3/2.0a/Qt/QVTKWidget.cxx:184: error: `Finalize' undeclared (first 
use this
   function)
/data3/2.0a/Qt/QVTKWidget.cxx:184: error: (Each undeclared identifier is
   reported only once for each function it appears in.)


These problems occurs because I'm not using QVTK with the VTK 
development version, instead i'm using VTK stable.
I was fixed the problem by usind the following define ( starts at line 
184 ):

#if defined(QVTK_HAVE_VTK_4_5)
            if(this->mRenWin->GetMapped())
              this->mRenWin->Finalize();
#endif

Since I'm not a vtk developer, please, if possible, someone can update 
the code with this?

Thks in advance,

Wagner Sales




More information about the vtkusers mailing list