X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSegmentationDialog.h;h=d359e5d2e2190b6603f7fd0d5b633ed854cdc6f0;hb=1c6241402b25efea0052f0464be9a494e761b19e;hp=a3af4a39575b6be2efc1034649a8108b43099ae0;hpb=8e3fa5a364bc439812785f96cd0bbfcefd86d544;p=clitk.git diff --git a/vv/vvSegmentationDialog.h b/vv/vvSegmentationDialog.h index a3af4a3..d359e5d 100644 --- a/vv/vvSegmentationDialog.h +++ b/vv/vvSegmentationDialog.h @@ -17,7 +17,12 @@ ===========================================================================**/ #ifndef _VVSEGMENTATIONDIALOG_H #define _VVSEGMENTATIONDIALOG_H +#include +#if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 1) || VTK_MAJOR_VERSION >= 9 #include "ui_vvSegmentationDialog.h" +#else +#include "ui_vvSegmentationDialogVTK7.h" +#endif #include "clitkCommon.h" #include "vvImage.h" #include "vvSlicerManager.h" @@ -32,7 +37,11 @@ #include "vtkPolyData.h" #include +#if QT_VERSION >= 0x050000 +#include +#else #include +#endif #include //====================================================================