diff options
author | Andy Nichols <andy.nichols@digia.com> | 2013-08-15 16:31:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-27 14:16:18 +0200 |
commit | 94ccfbc1326ddf554d2ef3bf631f0358c2d20fb3 (patch) | |
tree | 85fc23b68c80380ac332105e64b50949870c2ae1 /src/plugins/avfoundation/mediaplayer/mediaplayer.pro | |
parent | 51d0f852b9be9c5753e28e2bb4a7f2f6c35dc533 (diff) |
AVFoundation: Enable QVideoWidget on iOS
Change-Id: I88041e7a2ea052fe449542eeaada31c09d93d163
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/avfoundation/mediaplayer/mediaplayer.pro')
-rw-r--r-- | src/plugins/avfoundation/mediaplayer/mediaplayer.pro | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/plugins/avfoundation/mediaplayer/mediaplayer.pro b/src/plugins/avfoundation/mediaplayer/mediaplayer.pro index f0bd18c57..e5bccd150 100644 --- a/src/plugins/avfoundation/mediaplayer/mediaplayer.pro +++ b/src/plugins/avfoundation/mediaplayer/mediaplayer.pro @@ -20,28 +20,16 @@ HEADERS += \ avfmediaplayermetadatacontrol.h \ avfmediaplayerservice.h \ avfmediaplayersession.h \ - avfmediaplayerserviceplugin.h + avfmediaplayerserviceplugin.h \ + avfvideooutput.h OBJECTIVE_SOURCES += \ avfmediaplayercontrol.mm \ avfmediaplayermetadatacontrol.mm \ avfmediaplayerservice.mm \ avfmediaplayerserviceplugin.mm \ - avfmediaplayersession.mm - -!ios { - HEADERS += \ - avfvideorenderercontrol.h \ - avfdisplaylink.h \ - avfvideoframerenderer.h \ - avfvideooutput.h - OBJECTIVE_SOURCES += \ - avfvideorenderercontrol.mm \ - avfdisplaylink.mm \ - avfvideoframerenderer.mm \ - avfvideooutput.mm - - LIBS += -framework QuartzCore -framework AppKit + avfmediaplayersession.mm \ + avfvideooutput.mm qtHaveModule(widgets) { QT += multimediawidgets-private @@ -53,6 +41,18 @@ OBJECTIVE_SOURCES += \ avfvideowidgetcontrol.mm \ avfvideowidget.mm } + +!ios { + LIBS += -framework QuartzCore -framework AppKit + + HEADERS += \ + avfvideorenderercontrol.h \ + avfdisplaylink.h \ + avfvideoframerenderer.h + OBJECTIVE_SOURCES += \ + avfvideorenderercontrol.mm \ + avfdisplaylink.mm \ + avfvideoframerenderer.mm } OTHER_FILES += \ |