diff options
Diffstat (limited to 'src/webview/qwebview_darwin.mm')
-rw-r--r-- | src/webview/qwebview_darwin.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/webview/qwebview_darwin.mm b/src/webview/qwebview_darwin.mm index 24587aa..6d337c2 100644 --- a/src/webview/qwebview_darwin.mm +++ b/src/webview/qwebview_darwin.mm @@ -106,6 +106,7 @@ static inline CGRect toCGRect(const QRectF &rect) return CGRectMake(rect.x(), rect.y(), rect.width(), rect.height()); } +QT_END_NAMESPACE // ------------------------------------------------------------------------- #ifdef Q_OS_IOS @@ -154,8 +155,6 @@ static inline CGRect toCGRect(const QRectF &rect) #if QT_MACOS_IOS_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_10, __IPHONE_8_0) -class QWebViewInterface; - @interface QtWKWebViewDelegate : NSObject<WKNavigationDelegate> { QDarwinWebViewPrivate *qDarwinWebViewPrivate; } @@ -242,6 +241,8 @@ class QWebViewInterface; @end +QT_BEGIN_NAMESPACE + QDarwinWebViewPrivate::QDarwinWebViewPrivate(QObject *p) : QWebViewPrivate(p) , wkWebView(nil) |