summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2012-08-17 11:19:17 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-09 10:50:43 +0200
commit13ce3d921a9fa6f920433ee7b5beb6f71c784334 (patch)
tree21b3a6250737d1298ff77440c6a1095dc0f9dbe4 /config.tests
parentce135bff835866ee013d3841a4e1647a527dba8c (diff)
downloadqtmultimedia-13ce3d921a9fa6f920433ee7b5beb6f71c784334.tar.gz
qtmultimedia-13ce3d921a9fa6f920433ee7b5beb6f71c784334.tar.bz2
qtmultimedia-13ce3d921a9fa6f920433ee7b5beb6f71c784334.zip
Added config test for AVFoundation framework
Change-Id: Ifd152513074e6b7802a3ed6d4722ba78762ec79c Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/avfoundation/avfoundation.pro3
-rw-r--r--config.tests/avfoundation/main.mm47
2 files changed, 50 insertions, 0 deletions
diff --git a/config.tests/avfoundation/avfoundation.pro b/config.tests/avfoundation/avfoundation.pro
new file mode 100644
index 00000000..4554dc6a
--- /dev/null
+++ b/config.tests/avfoundation/avfoundation.pro
@@ -0,0 +1,3 @@
+OBJECTIVE_SOURCES += main.mm
+
+LIBS += -framework AVFoundation
diff --git a/config.tests/avfoundation/main.mm b/config.tests/avfoundation/main.mm
new file mode 100644
index 00000000..1f10ec3a
--- /dev/null
+++ b/config.tests/avfoundation/main.mm
@@ -0,0 +1,47 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#import <AVFoundation/AVFoundation.h>
+
+int main(int argc, char** argv)
+{
+ return 0;
+}