[vtkusers] vtkQt library header conflication

Hualiang Zhong hzhong at imaging.robarts.ca
Thu Jun 3 11:26:35 EDT 2004


Hello vtkusers,

I am using vtkQt version1.5 (http://carol.science.uva.nl/~dshamoni/) 
based on VTK 4.2 and Qt 3.1 on linux. For the following simple program:

#include "vtkQtRenderWindow.h"
#include "vtkRenderer.h"

int main (void)
{
vtkRenderer *ren = vtkRenderer::New();
vtkQtRenderWindow *renWindow = vtkQtRenderWindow::New();
renWindow->AddRenderer(ren);
renWindow->SetWindowName("VtkQt-vtkQtRenderWindow");
return 0;
}
 
the compiling results show that it can't convert to *vtkQtRenderWindow from *vtkXOpenGLRenderWindow but the later one is one of its two super-classes. 

Thanks for any suggestion!


Hualiang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040603/adadf932/attachment.htm>


More information about the vtkusers mailing list