diff options
author | Jake Petroules <jake.petroules@qt.io> | 2018-02-12 13:17:24 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2018-02-12 21:25:48 +0000 |
commit | 88f74ccb09824ecfc6666150bfeab13fd99a21c7 (patch) | |
tree | b58f74e72b314e567fb890216d79b84b5ea17909 /src | |
parent | 8f907367e999a359a58c256cdce8dc7cf39a3382 (diff) |
Add missing includes
Messages are sent to NSView and UIView pointers in this file, which
will generate unrecognized selector warnings (and eventually, errors).
Change-Id: I4c4d65b555eb4cac8d73596ccb986b14d34ddf31
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.mm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.mm b/src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.mm index 4952551dc..5727cb0f4 100644 --- a/src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.mm +++ b/src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.mm @@ -41,6 +41,14 @@ #include <AVFoundation/AVFoundation.h> +#if QT_HAS_INCLUDE(<AppKit/AppKit.h>) +#include <AppKit/AppKit.h> +#endif + +#if QT_HAS_INCLUDE(<UIKit/UIKit.h>) +#include <UIKit/UIKit.h> +#endif + QT_USE_NAMESPACE AVFVideoWindowControl::AVFVideoWindowControl(QObject *parent) |