@@ -23,7 +23,7 @@
// Qt includes
#include <QtGlobal>
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
+#ifndef HAVE_QT5
#include <QDesignerCustomWidgetCollectionInterface>
#else
#include <QtUiPlugin/QDesignerCustomWidgetCollectionInterface>