summaryrefslogtreecommitdiffstats
path: root/config.tests/unix
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-03-03 09:34:44 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-03-03 10:48:38 (GMT)
commit9957e85e37345e946ecc67196d65fbca867a2001 (patch)
tree28cab06981744a00ef4ba9154ae9ad658384f600 /config.tests/unix
parent7a6f492a6dcf9140eda309dcdff6e0f8d321df19 (diff)
downloadQt-9957e85e37345e946ecc67196d65fbca867a2001.zip
Qt-9957e85e37345e946ecc67196d65fbca867a2001.tar.gz
Qt-9957e85e37345e946ecc67196d65fbca867a2001.tar.bz2
Add config.test for multimedia/qml
using pkg-config from pri file is not good for cross-compiling Reviewed-by: paul
Diffstat (limited to 'config.tests/unix')
-rw-r--r--config.tests/unix/pulseaudio/pulseaudio.pro4
-rw-r--r--config.tests/unix/pulseaudio/pulseaudiotest.cpp49
2 files changed, 53 insertions, 0 deletions
diff --git a/config.tests/unix/pulseaudio/pulseaudio.pro b/config.tests/unix/pulseaudio/pulseaudio.pro
new file mode 100644
index 0000000..698a35f
--- /dev/null
+++ b/config.tests/unix/pulseaudio/pulseaudio.pro
@@ -0,0 +1,4 @@
+SOURCES = pulseaudiotest.cpp
+LIBS+=-lpulse
+CONFIG -= qt dylib
+mac:CONFIG -= app_bundle
diff --git a/config.tests/unix/pulseaudio/pulseaudiotest.cpp b/config.tests/unix/pulseaudio/pulseaudiotest.cpp
new file mode 100644
index 0000000..eed88da
--- /dev/null
+++ b/config.tests/unix/pulseaudio/pulseaudiotest.cpp
@@ -0,0 +1,49 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** 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, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include <pulse/pulseaudio.h>
+
+int main(int ,char **)
+{
+ pa_threaded_mainloop *mainloop = pa_threaded_mainloop_new();
+ return 0;
+}
+