]> Creatis software - clitk.git/blobdiff - vv/vvSegmentationDialog.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvSegmentationDialog.h
index cf248d929f97a01d303f28c041de96c4bbb24878..277abc1785a54cf8f2c44b23ec3cae36627f38d8 100644 (file)
 ===========================================================================**/
 #ifndef _VVSEGMENTATIONDIALOG_H
 #define _VVSEGMENTATIONDIALOG_H
+#include <vtkVersion.h>
+#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"
 #include "vtkPolyData.h"
 #include <vtkPolyDataMapper.h>
 
-#if QT_VERSION < 0x050000
-#include <QtDesigner/QDesignerExportWidget>
-#else
+#if QT_VERSION >= 0x050000
 #include <QtUiPlugin/QDesignerExportWidget>
+#else
+#include <QtDesigner/QDesignerExportWidget>
 #endif
 #include <QTreeWidget>