KDE Connect Telepathy plugin doesn't compile
Aleix Pol
aleixpol at kde.org
Fri Sep 11 08:12:23 UTC 2015
HTH,
Aleix
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:
In constructor ‘ConnectConnection::ConnectConnection(const
QDBusConnection&, const QString&, const QString&, const
QVariantMap&)’:
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:51:65:
error: no matching function for call to
‘Tp::BaseConnectionContactsInterface::create()’
contactsIface = Tp::BaseConnectionContactsInterface::create();
^
In file included from
/home/kde-devel/kde5/include/telepathy-qt5/TelepathyQt/BaseConnection:8:0,
from
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.h:19,
from
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:14:
/home/kde-devel/kde5/include/telepathy-qt5/TelepathyQt/base-connection.h:202:47:
note: candidate: static Tp::BaseConnectionContactsInterfacePtr
Tp::BaseConnectionContactsInterface::create(Tp::BaseConnection*)
static BaseConnectionContactsInterfacePtr create(BaseConnection
*connection)
^
/home/kde-devel/kde5/include/telepathy-qt5/TelepathyQt/base-connection.h:202:47:
note: candidate expects 1 argument, 0 provided
/home/kde-devel/kde5/include/telepathy-qt5/TelepathyQt/base-connection.h:207:63:
note: candidate: template<class
BaseConnectionContactsInterfaceSubclass> static Tp::SharedPtr<T>
Tp::BaseConnectionContactsInterface::create(Tp::BaseConnection*)
static SharedPtr<BaseConnectionContactsInterfaceSubclass>
create(BaseConnection *connection)
^
/home/kde-devel/kde5/include/telepathy-qt5/TelepathyQt/base-connection.h:207:63:
note: template argument deduction/substitution failed:
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:51:65:
note: candidate expects 1 argument, 0 provided
contactsIface = Tp::BaseConnectionContactsInterface::create();
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:
At global scope:
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:104:48:
warning: unused parameter ‘error’ [-Wunused-parameter]
void ConnectConnection::connect(Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:199:89:
warning: unused parameter ‘interfaces’ [-Wunused-parameter]
Tp::ContactAttributesMap
ConnectConnection::getContactListAttributes(const QStringList
&interfaces, bool hold, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:199:106:
warning: unused parameter ‘hold’ [-Wunused-parameter]
Tp::ContactAttributesMap
ConnectConnection::getContactListAttributes(const QStringList
&interfaces, bool hold, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:199:127:
warning: unused parameter ‘error’ [-Wunused-parameter]
Tp::ContactAttributesMap
ConnectConnection::getContactListAttributes(const QStringList
&interfaces, bool hold, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:219:141:
warning: unused parameter ‘error’ [-Wunused-parameter]
Tp::ContactAttributesMap
ConnectConnection::getContactAttributes(const Tp::UIntList &handles,
const QStringList &interfaces, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:243:56:
warning: unused parameter ‘handle’ [-Wunused-parameter]
Tp::SimplePresence ConnectConnection::getPresence(uint handle)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:248:52:
warning: unused parameter ‘status’ [-Wunused-parameter]
uint ConnectConnection::setPresence(const QString &status, const
QString &message, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:248:75:
warning: unused parameter ‘message’ [-Wunused-parameter]
uint ConnectConnection::setPresence(const QString &status, const
QString &message, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:248:99:
warning: unused parameter ‘error’ [-Wunused-parameter]
uint ConnectConnection::setPresence(const QString &status, const
QString &message, Tp::DBusError *error)
^
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:
In member function ‘bool ConnectConnection::receiveMessage(const
QString&, const QString&)’:
/home/kde-devel/frameworks/kdeconnect-kde/telepathy-cm/connection.cpp:293:20:
warning: unused variable ‘handleType’ [-Wunused-variable]
Tp::HandleType handleType = Tp::HandleTypeContact;
^
ninja: build stopped: subcommand failed.
*** Failure: Exit code 1 ***
More information about the KDEConnect
mailing list