]> Creatis software - clitk.git/blobdiff - vv/vvSurfaceViewerDialog.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvSurfaceViewerDialog.h
index fe9848ef77d6f91fab515ee98bf539566a5fdf9e..9601e9af51a4d270a2b150a6a21feeb6bb19e2b6 100644 (file)
 ===========================================================================**/
 #ifndef _vvSurfaceViewerDialog_H
 #define _vvSurfaceViewerDialog_H
+#include <vtkVersion.h>
+#if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 2) || VTK_MAJOR_VERSION >= 9
 #include "ui_vvSurfaceViewerDialog.h"
+#else
+#include "ui_vvSurfaceViewerDialogVTK7.h"
+#endif
 
 class vtkPolyDataMapper;
 class vtkActor;
 class vtkOBJReader;
 
+#if QT_VERSION >= 0x050000
 #include <QtUiPlugin/QDesignerExportWidget>
+#else
+#include <QtDesigner/QDesignerExportWidget>
+#endif
 #include <QTreeWidget>
 
 //====================================================================