AVFoundation: Basic camera support for iOS
authorAndy Nichols <andy.nichols@digia.com>
Mon, 26 Aug 2013 13:54:52 +0000 (15:54 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 27 Aug 2013 12:16:26 +0000 (14:16 +0200)
Enables basic software rendering support for iOS.

Change-Id: Icd29076ea627295819ede6d9680de576ba39b34e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/plugins/avfoundation/avfoundation.pro
src/plugins/avfoundation/camera/camera.pro

index 48ad0a5..c05331d 100644 (file)
@@ -1,5 +1,4 @@
 TEMPLATE = subdirs
 
-!ios: SUBDIRS += camera
-
-SUBDIRS += mediaplayer
+SUBDIRS += mediaplayer \
+           camera
index 3c75117..791ab8c 100644 (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