diff options
Diffstat (limited to 'src/webview/qwebview.cpp')
-rw-r--r-- | src/webview/qwebview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webview/qwebview.cpp b/src/webview/qwebview.cpp index 92090ab..04e8b15 100644 --- a/src/webview/qwebview.cpp +++ b/src/webview/qwebview.cpp @@ -35,6 +35,7 @@ ****************************************************************************/ #include "qwebview_p.h" +#include <QtWebView/private/qwebviewloadrequest_p.h> QT_BEGIN_NAMESPACE @@ -42,6 +43,7 @@ QWebView::QWebView(QObject *p) : QObject(p), d_ptr(QWebViewPrivate::create(this)) { + qRegisterMetaType<QWebViewLoadRequestPrivate>(); Q_D(QWebView); connect(d, &QWebViewPrivate::titleChanged, this, &QWebView::titleChanged); connect(d, &QWebViewPrivate::urlChanged, this, &QWebView::urlChanged); |