summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-02-11 11:34:22 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-03-09 04:55:00 -0800
commitbb4eabd399a173698e14cb322556874938b2acf1 (patch)
tree4eec4f78d232a2340cf7f91718264459724b4cf1
parent19b29b41a868ab943c67e5ad524c4a0fab863aae (diff)
Make sure all private headers include at least one other
See script in qtbase/util/includeprivate for the rules. Since these files are being touched anyway, I also ran the updatecopyright.pl script too. Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--src/quick/qtwebviewquickglobal_p.h2
-rw-r--r--src/webview/qnativeviewcontroller_p.h1
-rw-r--r--src/webview/qwebviewinterface_p.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/quick/qtwebviewquickglobal_p.h b/src/quick/qtwebviewquickglobal_p.h
index 026d2a5..065dc49 100644
--- a/src/quick/qtwebviewquickglobal_p.h
+++ b/src/quick/qtwebviewquickglobal_p.h
@@ -51,7 +51,7 @@
// We mean it.
//
-#include <QtCore/qglobal.h>
+#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/webview/qnativeviewcontroller_p.h b/src/webview/qnativeviewcontroller_p.h
index 76d31eb..b34a60d 100644
--- a/src/webview/qnativeviewcontroller_p.h
+++ b/src/webview/qnativeviewcontroller_p.h
@@ -55,6 +55,7 @@
#include <QtCore/qrect.h>
#include <QtGui/qwindow.h>
#include <QtCore/qpointer.h>
+#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/webview/qwebviewinterface_p.h b/src/webview/qwebviewinterface_p.h
index 87482d6..3af12cb 100644
--- a/src/webview/qwebviewinterface_p.h
+++ b/src/webview/qwebviewinterface_p.h
@@ -56,6 +56,7 @@
#include <QtCore/qobject.h>
#include <QtCore/qurl.h>
#include <QtGui/qimage.h>
+#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE