]> Creatis software - clitk.git/blobdiff - vv/vvToolProfile.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolProfile.h
index 94b377f31a0c81f9deb4456374c8a783f7f726ea..8297a90d738778d2fa48d3b873e5b4c87764b51e 100644 (file)
 #define VVTOOLPROFILE_H
 
 #include <QtGlobal>
-#if QT_VERSION < 0x050000
-#include <QtDesigner/QDesignerExportWidget>
-#else
+#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"