AVFoundation: Basic camera support for iOS

Enables basic software rendering support for iOS.

Change-Id: Icd29076ea627295819ede6d9680de576ba39b34e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
This commit is contained in:
Andy Nichols
2013-08-26 15:54:52 +02:00
committed by The Qt Project
parent 94ccfbc132
commit 48a6a8a043
2 changed files with 9 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
TEMPLATE = subdirs TEMPLATE = subdirs
!ios: SUBDIRS += camera SUBDIRS += mediaplayer \
camera
SUBDIRS += mediaplayer

View File

@@ -8,10 +8,14 @@ PLUGIN_TYPE = mediaservice
PLUGIN_CLASS_NAME = AVFServicePlugin PLUGIN_CLASS_NAME = AVFServicePlugin
load(qt_plugin) load(qt_plugin)
LIBS += -framework AppKit -framework AudioUnit \ LIBS += -framework AudioToolbox \
-framework AudioToolbox -framework CoreAudio \ -framework CoreAudio \
-framework QuartzCore -framework AVFoundation \ -framework QuartzCore \
-framework AVFoundation \
-framework CoreMedia -framework CoreMedia
osx:LIBS += -framework AppKit \
-framework AudioUnit
ios:LIBS += -framework CoreVideo
OTHER_FILES += avfcamera.json OTHER_FILES += avfcamera.json