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