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
!ios: SUBDIRS += camera
SUBDIRS += mediaplayer
SUBDIRS += mediaplayer \
camera

View File

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