summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/Api/qwebpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/Api/qwebpage.h')
-rw-r--r--Source/WebKit/qt/Api/qwebpage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/Api/qwebpage.h b/Source/WebKit/qt/Api/qwebpage.h
index 0bf35e247..fce68a8c4 100644
--- a/Source/WebKit/qt/Api/qwebpage.h
+++ b/Source/WebKit/qt/Api/qwebpage.h
@@ -26,7 +26,7 @@
#include <QtCore/qobject.h>
#include <QtCore/qurl.h>
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
+#if defined(HAVE_QT5) && HAVE_QT5
#include <QtWidgets/qwidget.h>
#else
#include <QtGui/qwidget.h>