X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSegmentationDialog.h;h=277abc1785a54cf8f2c44b23ec3cae36627f38d8;hb=ef03fc34db849c864b1ae7f50c8442e125834f84;hp=7dca49e9b570ceeac67b783aea84df40a02a538e;hpb=7799c187328c3c00f84f820adb9341ca632f78ff;p=clitk.git diff --git a/vv/vvSegmentationDialog.h b/vv/vvSegmentationDialog.h index 7dca49e..277abc1 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 >= 2) || VTK_MAJOR_VERSION >= 9 #include "ui_vvSegmentationDialog.h" +#else +#include "ui_vvSegmentationDialogVTK7.h" +#endif #include "clitkCommon.h" #include "vvImage.h" #include "vvSlicerManager.h" @@ -32,10 +37,10 @@ #include "vtkPolyData.h" #include -#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) -#include -#else +#if QT_VERSION >= 0x050000 #include +#else +#include #endif #include