Skip to content

Commit

Permalink
Merge branch 'jb51056' into 'master'
Browse files Browse the repository at this point in the history
[qtmpris] Switch to integrated build of qtdbusextended. JB#51056

See merge request mer-core/qtmpris!6
  • Loading branch information
mlehtima committed Sep 11, 2020
2 parents 21a4f35 + 8be32de commit 1f39c1a
Show file tree
Hide file tree
Showing 14 changed files with 700 additions and 7 deletions.
1 change: 0 additions & 1 deletion declarative/declarative.pro
Expand Up @@ -8,7 +8,6 @@ INCLUDEPATH += ../src
QT = core dbus qml

LIBS += -L../src -l$${MPRISQTLIB}
PKGCONFIG = dbusextended-qt5

EXAMPLE = ../example/declarative/*

Expand Down
1 change: 0 additions & 1 deletion example/controller/controller.pro
Expand Up @@ -9,7 +9,6 @@ QT += qml quick
DEPENDPATH += ../../src
INCLUDEPATH += ../../src
LIBS += -L../../src -l$${MPRISQTLIB}
PKGCONFIG = dbusextended-qt5

SOURCES += \
controller.cpp
Expand Down
1 change: 0 additions & 1 deletion example/player/player.pro
Expand Up @@ -9,7 +9,6 @@ QT += qml quick
DEPENDPATH += ../../src
INCLUDEPATH += ../../src
LIBS += -L../../src -l$${MPRISQTLIB}
PKGCONFIG = dbusextended-qt5

SOURCES += \
player.cpp
Expand Down
3 changes: 2 additions & 1 deletion mpris-qt.pro
@@ -1,3 +1,4 @@
TEMPLATE = subdirs
declarative.depends = src
SUBDIRS = src declarative
src.depends = qtdbusextended
SUBDIRS = src declarative qtdbusextended
1 change: 1 addition & 0 deletions qtdbusextended/DBusExtended
@@ -0,0 +1 @@
#include "dbusextended.h"
1 change: 1 addition & 0 deletions qtdbusextended/DBusExtendedAbstractInterface
@@ -0,0 +1 @@
#include "dbusextendedabstractinterface.h"
35 changes: 35 additions & 0 deletions qtdbusextended/dbusextended.h
@@ -0,0 +1,35 @@
// -*- c++ -*-

/*!
*
* Copyright (C) 2015 Jolla Ltd.
*
* Contact: Valerio Valerio <valerio.valerio@jolla.com>
* Author: Andres Gomez <andres.gomez@jolla.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/


#ifndef QT_DBUS_EXTENDED_H
#define QT_DBUS_EXTENDED_H

#if defined(QT_DBUS_EXTENDED_LIBRARY)
# define QT_DBUS_EXTENDED_EXPORT Q_DECL_EXPORT
#else
# define QT_DBUS_EXTENDED_EXPORT Q_DECL_IMPORT
#endif

#endif /* QT_DBUS_EXTENDED_H */

0 comments on commit 1f39c1a

Please sign in to comment.