summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2014-08-21 09:43:57 +0200
committerZeno Albisser <zeno.albisser@digia.com>2014-08-21 11:55:34 +0200
commit80e10314f3ebdc2cb935e3ed1a392d87eb14dbf4 (patch)
tree0ff7dd7927e508ef3f2ed6e2f1401fd6aaeb1770
parent3b4eec9b970ed9cdcd93e194fbaa9353b03bfd81 (diff)
[OSX] Buildfix: Classes used with templates must be fully qualified.
Change-Id: Idf1cd3990e2cfd9e2ed3b017370e689c1126bb48 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-rw-r--r--src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp1
-rw-r--r--src/webenginewidgets/render_widget_host_view_qt_delegate_widget.h11
2 files changed, 5 insertions, 7 deletions
diff --git a/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp b/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
index 3aff4af2..d31af250 100644
--- a/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
+++ b/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
@@ -46,6 +46,7 @@
#include <QSGAbstractRenderer>
#include <QSGEngine>
#include <QSGNode>
+#include <QWindow>
static const int MaxTooltipLength = 1024;
diff --git a/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.h b/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.h
index 161b0bae..0b553d8e 100644
--- a/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.h
+++ b/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.h
@@ -40,19 +40,16 @@
#include "render_widget_host_view_qt_delegate.h"
#include "web_contents_adapter_client.h"
+#include <QSGAbstractRenderer>
+#include <QSGEngine>
+#include <QSGNode>
+
#if (QT_VERSION < QT_VERSION_CHECK(5, 4, 0))
#include <QtWidgets/private/qopenglwidget_p.h>
#else
#include <QtWidgets/QOpenGLWidget>
#endif
-QT_BEGIN_NAMESPACE
-class QSGAbstractRenderer;
-class QSGEngine;
-class QSGRootNode;
-class QWindow;
-QT_END_NAMESPACE
-
class RenderWidgetHostViewQtDelegateWidget : public QOpenGLWidget, public RenderWidgetHostViewQtDelegate {
Q_OBJECT
public: