]> Creatis software - clitk.git/blobdiff - vv/vvToolSegmentation.h
Ensure compatibility between Qt5.5 and Qt5.x or less
[clitk.git] / vv / vvToolSegmentation.h
index 5cd6e404b81d952b4237bd280b9378459a5b9521..4801403541d1aca2539637b18729b223ac8a3791 100644 (file)
 #ifndef VVTOOLSEGMENTATION_H
 #define VVTOOLSEGMENTATION_H
 
+#include <QtGlobal>
+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
 #include <QtDesigner/QDesignerExportWidget>
+#else
+#include <QtUiPlugin/QDesignerExportWidget>
+#endif
 
 #include "vvToolBase.h"
 #include "vvToolWidgetBase.h"