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