]> Creatis software - clitk.git/blobdiff - vv/vvToolProfile.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolProfile.h
index 2f64bb3a656e28f10b93cf0107f35abe430714fb..8297a90d738778d2fa48d3b873e5b4c87764b51e 100644 (file)
 #define VVTOOLPROFILE_H
 
 #include <QtGlobal>
+#if QT_VERSION >= 0x050000
+#include <QtUiPlugin/QDesignerExportWidget>
+#else
 #include <QtDesigner/QDesignerExportWidget>
+#endif
 
 #include "vvToolBase.h"
 #include "vvToolWidgetBase.h"
 #include "vvImageContour.h"
 #include "vvLandmarks.h"
+#include <vtkVersion.h>
+#if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 2) || VTK_MAJOR_VERSION >= 9
 #include "ui_vvToolProfile.h"
+#else
+#include "ui_vvToolProfileVTK7.h"
+#endif
 #include "vvBinaryImageOverlayActor.h"
 
 #include "clitkProfileImage_ggo.h"