Created
June 5, 2015 11:58
-
-
Save bbandix/7f9fb938b41533233dbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/core_module.pro b/src/core/core_module.pro | |
index df86894..70a04fb 100644 | |
--- a/src/core/core_module.pro | |
+++ b/src/core/core_module.pro | |
@@ -1,6 +1,9 @@ | |
MODULE = webenginecore | |
include(core_common.pri) | |
+ | |
+QT+= gui | |
+ | |
# Needed to set a CFBundleIdentifier | |
QMAKE_INFO_PLIST = Info_mac.plist | |
diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp | |
index 572bc34..f1a0dd2 100644 | |
--- a/src/core/render_widget_host_view_qt.cpp | |
+++ b/src/core/render_widget_host_view_qt.cpp | |
@@ -70,6 +70,7 @@ | |
#include <QGuiApplication> | |
#include <QInputMethodEvent> | |
#include <QTextFormat> | |
+#include <QTouchEvent> | |
#include <QKeyEvent> | |
#include <QMouseEvent> | |
#include <QScreen> | |
@@ -77,7 +78,6 @@ | |
#include <QVariant> | |
#include <QWheelEvent> | |
#include <QWindow> | |
-#include <QtGui/qaccessible.h> | |
namespace QtWebEngineCore { | |
diff --git a/src/core/render_widget_host_view_qt.h b/src/core/render_widget_host_view_qt.h | |
index 248c52f..b4adc4d 100644 | |
--- a/src/core/render_widget_host_view_qt.h | |
+++ b/src/core/render_widget_host_view_qt.h | |
@@ -50,9 +50,7 @@ | |
#include <QMap> | |
#include <QPoint> | |
#include <QRect> | |
-#include <QtGlobal> | |
-#include <QtGui/qaccessible.h> | |
-#include <QtGui/QTouchEvent> | |
+#include <QAccessible> | |
#include "delegated_frame_node.h" | |
@@ -62,6 +60,7 @@ class QFocusEvent; | |
class QHoverEvent; | |
class QKeyEvent; | |
class QMouseEvent; | |
+class QTouchEvent; | |
class QVariant; | |
class QWheelEvent; | |
class QAccessibleInterface; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment