[vtkusers] vtkQt library header conflication

REGAT-BARREL Aurélien arbvtk at yahoo.fr
Thu Jun 3 17:14:29 EDT 2004


Hello,
I use http://www.matthias-koenig.net/vtkqt/ and it works fine, under Linux & Windows.

Hualiang Zhong <hzhong at imaging.robarts.ca> wrote:
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

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: 
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers


Aurélien REGAT-BARREL
		
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040603/8dc4a240/attachment.htm>


More information about the vtkusers mailing list