[vtkusers] vtkQt library header conflication
Denis Shamonin
dshamoni at science.uva.nl
Thu Jun 3 12:03:57 EDT 2004
Hualiang Zhong wrote:
> Hello vtkusers,
>
> I am using vtkQt version1.5 (http://carol.science.uva.nl/~dshamoni/
> <http://carol.science.uva.nl/%7Edshamoni/>)
> 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();
Try:
vtkQtRenderWindow *renWindow = new vtkQtRenderWindow();
::New() method was removed, to make it easy use Qt Designer.
--
Denis Shamonin
Section Computational Science
University of Amsterdam
Kruislaan 403, 1098 SJ Amsterdam
The Netherlands
E-mail : dshamoni at science.uva.nl
URL : http://www.science.uva.nl/~dshamoni/
Room number : F.215
Secr. number : +31 20 525 7463
Fax number : +31 20 525 7419
Office number : +31 20 525 7574
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040603/8a987d52/attachment.htm>
More information about the vtkusers
mailing list