pushbullet: Add Qt6 support

qt6-qmake
Simon Stürz 2025-08-08 15:53:43 +02:00
parent b16a71401a
commit 604ee1933f
3 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Copyright 2013 - 2020, nymea GmbH
* Copyright 2013 - 2025, nymea GmbH
* Contact: contact@nymea.io
*
* This file is part of nymea.
@ -31,7 +31,7 @@
#include "integrationpluginpushbullet.h"
#include "plugininfo.h"
#include "network/networkaccessmanager.h"
#include <network/networkaccessmanager.h>
#include <QJsonDocument>
@ -150,7 +150,7 @@ void IntegrationPluginPushbullet::executeAction(ThingActionInfo *info)
connect(reply, &QNetworkReply::finished, info, [reply, info]{
if (reply->error() != QNetworkReply::NoError) {
qCWarning(dcPushbullet()) << "Push message sending failed for" << info->thing()->name() << info->thing()->id() << reply->errorString() << reply->error();
emit info->finish(Thing::ThingErrorHardwareNotAvailable);
info->finish(Thing::ThingErrorHardwareNotAvailable);
return;
}

View File

@ -1,6 +1,6 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Copyright 2013 - 2020, nymea GmbH
* Copyright 2013 - 2025, nymea GmbH
* Contact: contact@nymea.io
*
* This file is part of nymea.
@ -31,7 +31,7 @@
#ifndef INTEGRATIONPLUGINPUSHBULLET_H
#define INTEGRATIONPLUGINPUSHBULLET_H
#include "integrations/integrationplugin.h"
#include <integrations/integrationplugin.h>
class IntegrationPluginPushbullet: public IntegrationPlugin
{

View File

@ -1,7 +1,5 @@
include(../plugins.pri)
TARGET = $$qtLibraryTarget(nymea_integrationpluginpushbullet)
QT+= network
SOURCES += \