[vtkusers] vtkandqt library conflicts
    Seema Jaisinghani 
    seemri at yahoo.com
       
    Thu Mar 27 17:29:09 EST 2003
    
    
  
Thanks Clint, It worked!
--- Clinton Stimpson <clinton at elemtech.com> wrote:
> 
> You need to link with opengl32.lib to get rid of the
> gl related unresolved 
> symbols.
> You also need to define QT_DLL in the preprocessor
> defines to get rid of 
> the linking errors related to QString.
> And you need to run Qt's moc on RenderWindow and
> RenderWindowInteractor and 
> include those mocced files into your project. 
> That'll get rid of the rest 
> of the errors.
> 
> Note:  I have found a few problems with a few of
> vtk/qt integrations I've 
> seen.  If the renderwindow is derived from
> QGLWidget, it leaks some memory 
> because Qt tries setting up OpenGL stuff which VTK
> does too.  If it doesn't 
> integrate a vtkRenderWindowInteractor, some VTK
> features can't be used 
> (interactor observors which include 3D widgets for
> example).  I ended up 
> writing my own which requires VTK 4.2 and uses
> vtkRenderWindow and 
> vtkGenericRenderWindowInteractor and doesn't require
> Qt's opengl module.
> 
> Clint
> 
> 
>
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
    
    
More information about the vtkusers
mailing list