#include <vvImage.h>
-#if QT_VERSION < 0x050000
-#include <QtDesigner/QDesignerExportWidget>
-#else
+#include <QtGlobal>
+#if QT_VERSION >= 0x050000
#include <QtUiPlugin/QDesignerExportWidget>
+#else
+#include <QtDesigner/QDesignerExportWidget>
#endif
#include "vvToolBase.h"
#include "QWidget"