summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-01-16 14:09:50 +0100
committerLiang Qi <liang.qi@qt.io>2018-01-16 16:44:09 +0000
commitc041711febbee334ce5369f25cfae3f560819855 (patch)
treec479b76b7f4c8dbd2d073f3046c7ad8f53d4a99e /examples
parente08754a535238c6f396e1e378ef4f38e413f02fc (diff)
downloadqtwebengine-c041711febbee334ce5369f25cfae3f560819855.tar.gz
Fix compilation of simplebrowser example
Previously qstyle.h was included indirectly through the uic generated code, but this got changed in qtbase commit 058474884c2505a8a0. Task-number: QTBUG-65793 Change-Id: I56a1cd045d53b268999d728f6907ee8d952ba6e9 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/simplebrowser/webpage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/webenginewidgets/simplebrowser/webpage.cpp b/examples/webenginewidgets/simplebrowser/webpage.cpp
index 3b78b8618..903956419 100644
--- a/examples/webenginewidgets/simplebrowser/webpage.cpp
+++ b/examples/webenginewidgets/simplebrowser/webpage.cpp
@@ -56,6 +56,7 @@
#include "webview.h"
#include <QAuthenticator>
#include <QMessageBox>
+#include <QStyle>
WebPage::WebPage(QWebEngineProfile *profile, QObject *parent)
: QWebEnginePage(profile, parent)