diff --git a/src/plugins/platforms/ios/qioswindow.h b/src/plugins/platforms/ios/qioswindow.h index 5bbd76fb36..f7c8f35621 100644 --- a/src/plugins/platforms/ios/qioswindow.h +++ b/src/plugins/platforms/ios/qioswindow.h @@ -42,11 +42,6 @@ class QIOSContext; class QIOSWindow; -@interface UIView (QIOS) -@property(readonly) QWindow *qwindow; -@property(readonly) UIViewController *viewController; -@end - QT_BEGIN_NAMESPACE @class QUIView; diff --git a/src/plugins/platforms/ios/quiview.h b/src/plugins/platforms/ios/quiview.h index fe71e5bed7..6550c61ad0 100644 --- a/src/plugins/platforms/ios/quiview.h +++ b/src/plugins/platforms/ios/quiview.h @@ -62,7 +62,9 @@ class QIOSWindow; - (void)clearAccessibleCache; @end -@interface QUIView (QtHelpers) +@interface UIView (QtHelpers) +- (QWindow *)qwindow; +- (UIViewController *)viewController; - (QIOSViewController*)qtViewController; @end