X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSurfaceViewerDialog.h;h=c0a8840f2f20a4b1470c8dc48ef52123e5a996ba;hb=75719c377dd8aa759f32dd277cfd7b2f914ebfa8;hp=f6a440fbcfd5e6f5b565c5068e42a77ef903adb5;hpb=c234e07e4ef90bb8b08c75ca4f1b3a76055e7859;p=clitk.git diff --git a/vv/vvSurfaceViewerDialog.h b/vv/vvSurfaceViewerDialog.h index f6a440f..c0a8840 100644 --- a/vv/vvSurfaceViewerDialog.h +++ b/vv/vvSurfaceViewerDialog.h @@ -17,16 +17,21 @@ ===========================================================================**/ #ifndef _vvSurfaceViewerDialog_H #define _vvSurfaceViewerDialog_H +#include +#if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 1) || VTK_MAJOR_VERSION >= 9 #include "ui_vvSurfaceViewerDialog.h" +#else +#include "ui_vvSurfaceViewerDialogVTK7.h" +#endif class vtkPolyDataMapper; class vtkActor; class vtkOBJReader; -#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) -#include -#else +#if QT_VERSION >= 0x050000 #include +#else +#include #endif #include