summaryrefslogtreecommitdiffstats
path: root/tools/qmake/config.tests/alsa/alsatest.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2016-12-21 01:13:55 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-12-21 01:15:07 +0100
commitd3dd527c3715188e2708ebcf5189076cbff9b104 (patch)
tree4a5c2a4e34d142c3a0cb690216a0d5df39708242 /tools/qmake/config.tests/alsa/alsatest.cpp
parent3bb1294bc59320e5699840e14490197d6a77b7aa (diff)
parente2609bcba621110920d847fcfbaf7edec4ae3827 (diff)
Merge branch '5.8' into dev
Conflicts: configure.json Change-Id: I658a02de96b45b382f0f6c383964501b794b5eb6
Diffstat (limited to 'tools/qmake/config.tests/alsa/alsatest.cpp')
-rw-r--r--tools/qmake/config.tests/alsa/alsatest.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/tools/qmake/config.tests/alsa/alsatest.cpp b/tools/qmake/config.tests/alsa/alsatest.cpp
new file mode 100644
index 000000000..ea511cd21
--- /dev/null
+++ b/tools/qmake/config.tests/alsa/alsatest.cpp
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2016 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:GPL-EXCEPT$
+** 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 The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include <alsa/asoundlib.h>
+#if SND_LIB_VERSION < 0x1000a // 1.0.10
+#error "Alsa version found too old, require >= 1.0.10"
+#endif
+
+int main(int argc,char **argv)
+{
+}
+