aboutsummaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2016-06-08 17:36:35 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2016-06-10 07:26:20 +0000
commit487fcf808ae80db309b87a7d1293ec5b3ff0e15c (patch)
tree844e8c0e25463a8c5049db240010aa7aae969e67 /config.tests
parentd344375f388d6eda5101583a1a1624422dd054ff (diff)
Extended the media simulator with an indexer
The indexer fills the database with the media files found in the local media folder. When the discoveryModel detects a new device, this device will be scanned as well and the content will be deleted on removal. For reading the tags from the mp3 files libtag is used. Change-Id: If2824621678442fbea3e2ab06d30560fe33e795e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/taglib/main.cpp47
-rw-r--r--config.tests/taglib/taglib.pro12
2 files changed, 59 insertions, 0 deletions
diff --git a/config.tests/taglib/main.cpp b/config.tests/taglib/main.cpp
new file mode 100644
index 0000000..1f14eae
--- /dev/null
+++ b/config.tests/taglib/main.cpp
@@ -0,0 +1,47 @@
+/****************************************************************************
+**
+** Copyright (C) 2016 Pelagicore AG
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the QtIvi module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL-QTAS$
+** Commercial License Usage
+** Licensees holding valid commercial Qt Automotive Suite 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 Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 3 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL3 included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 3 requirements
+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 2.0 or (at your option) the GNU General
+** Public license version 3 or any later version approved by the KDE Free
+** Qt Foundation. The licenses are as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
+** 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-2.0.html and
+** https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+** SPDX-License-Identifier: LGPL-3.0
+**
+****************************************************************************/
+
+#include <taglib.h>
+
+int main()
+{
+ return 0;
+}
diff --git a/config.tests/taglib/taglib.pro b/config.tests/taglib/taglib.pro
new file mode 100644
index 0000000..563372f
--- /dev/null
+++ b/config.tests/taglib/taglib.pro
@@ -0,0 +1,12 @@
+TARGET = taglib
+QT = core
+
+!contains(QT_CONFIG, no-pkg-config) {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += taglib
+} else {
+ LIBS += -ltag
+}
+
+# Input
+SOURCES += main.cpp