]> Creatis software - clitk.git/blobdiff - vv/vvToolROIManager.h
Ensure compatibility between Qt5.5 and Qt5.x or less
[clitk.git] / vv / vvToolROIManager.h
index 5c93de359cfc1dc6f826d57a9406fbfbd65e9369..aa84273fe97a186bbf929b616da1d657f38ab5c5 100644 (file)
@@ -19,7 +19,8 @@
 #ifndef VVTOOLROIMANAGER_H
 #define VVTOOLROIMANAGER_H
 
-#if QT_VERSION < 0x050000
+#include <QtGlobal>
+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
 #include <QtDesigner/QDesignerExportWidget>
 #else
 #include <QtUiPlugin/QDesignerExportWidget>