summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/Api/qwebview.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <vestbo@webkit.org>2012-06-04 10:24:38 +0000
committerSimon Hausmann <simon.hausmann@nokia.com>2012-06-13 17:22:03 +0200
commitb211c645d8ab690f713515dfdc84d80b11c27d2c (patch)
tree3d93ec6f6d8bbdf9eb0abe6c304160452b251311 /Source/WebKit/qt/Api/qwebview.h
parent0001dcd3a2d67fe8832562746a293754a9a8d7a0 (diff)
downloadqtwebkit-b211c645d8ab690f713515dfdc84d80b11c27d2c.tar.gz
Don't use WebKit HAVE() macro in public Qt headers
Reviewed by Kenneth Rohde Christiansen. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Diffstat (limited to 'Source/WebKit/qt/Api/qwebview.h')
-rw-r--r--Source/WebKit/qt/Api/qwebview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/Api/qwebview.h b/Source/WebKit/qt/Api/qwebview.h
index c31aa355b..90d0a8e3b 100644
--- a/Source/WebKit/qt/Api/qwebview.h
+++ b/Source/WebKit/qt/Api/qwebview.h
@@ -23,7 +23,7 @@
#include "qwebkitglobal.h"
#include "qwebpage.h"
-#if defined(HAVE_QT5) && HAVE_QT5
+#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
#include <QtWidgets/qwidget.h>
#else
#include <QtGui/qwidget.h>