[vtkusers] Deprecated headers with GCC in QT using VTK
Brad King
brad.king at kitware.com
Wed Jan 19 14:37:14 EST 2011
On 01/19/2011 02:16 PM, Jeremy B wrote:
> This is for anyone who had the same problem as I did when I compiled the
> VTK librariers using mingw for use with QT.
>
> Every time I include a VTK library into my project I would get a warning
> from the compiler stating I was using a deprecated header.
>
> To rectify this I simply modified the "vtkIOStream.h" file. I changed
> lines 112 - 116 to the following:
VTK knows these are deprecated, but many client applications, at least at
one time, were assuming that VTK includes the headers:
http://vtk.org/gitweb?p=VTK.git;a=blob;f=Common/vtkIOStream.h;hb=v5.6.1#l75
-Brad
More information about the vtkusers
mailing list