diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2012-08-17 13:44:14 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-27 09:11:06 +0200 |
commit | 37b872da9eced344dd5feaf1898cab0d02984ea5 (patch) | |
tree | ceb6587fa1d229a0bd99961c6e8f9a963881eae0 /src/plugins/avfoundation/camera/camera.pro | |
parent | 09a7fda9711290ae00f74f5d762148c5b2f5f534 (diff) |
Initial implementation of Mac camera backend
Based on AVFoundation framework
Change-Id: If4cfd105a592f50b42606624548b9ffc870e3e47
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/plugins/avfoundation/camera/camera.pro')
-rw-r--r-- | src/plugins/avfoundation/camera/camera.pro | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/plugins/avfoundation/camera/camera.pro b/src/plugins/avfoundation/camera/camera.pro new file mode 100644 index 000000000..7942c0f1b --- /dev/null +++ b/src/plugins/avfoundation/camera/camera.pro @@ -0,0 +1,52 @@ +load(qt_build_config) + +# Avoid clash with a variable named `slots' in a Quartz header +CONFIG += no_keywords + +TARGET = qavfcamera +QT += multimedia-private network + +PLUGIN_TYPE = mediaservice + +load(qt_plugin) +DESTDIR = $$QT.multimedia.plugins/$${PLUGIN_TYPE} + +LIBS += -framework AppKit -framework AudioUnit \ + -framework AudioToolbox -framework CoreAudio \ + -framework QuartzCore -framework AVFoundation \ + -framework CoreMedia + +target.path += $$[QT_INSTALL_PLUGINS]/$${PLUGIN_TYPE} +INSTALLS += target + +OTHER_FILES += avfcamera.json + +DEFINES += QMEDIA_AVF_CAMERA + +HEADERS += \ + avfcameradebug.h \ + avfcameraserviceplugin.h \ + avfcameracontrol.h \ + avfvideorenderercontrol.h \ + avfcamerametadatacontrol.h \ + avfimagecapturecontrol.h \ + avfmediarecordercontrol.h \ + avfcameraservice.h \ + avfcamerasession.h \ + avfstoragelocation.h \ + avfvideodevicecontrol.h \ + avfaudioinputselectorcontrol.h \ + +OBJECTIVE_SOURCES += \ + avfcameraserviceplugin.mm \ + avfcameracontrol.mm \ + avfvideorenderercontrol.mm \ + avfcamerametadatacontrol.mm \ + avfimagecapturecontrol.mm \ + avfmediarecordercontrol.mm \ + avfcameraservice.mm \ + avfcamerasession.mm \ + avfstoragelocation.mm \ + avfvideodevicecontrol.mm \ + avfaudioinputselectorcontrol.mm \ + |