avahimonitor: Add Qt6 support

master
Simon Stürz 2025-08-07 14:51:32 +02:00
parent 3257413b74
commit 96b55b8177
3 changed files with 12 additions and 11 deletions

View File

@ -1,8 +1,6 @@
include(../plugins.pri)
QT += network
TARGET = $$qtLibraryTarget(nymea_integrationpluginavahimonitor)
QT *= network
SOURCES += \
integrationpluginavahimonitor.cpp

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.
@ -30,10 +30,10 @@
#include "integrationpluginavahimonitor.h"
#include "integrations/thing.h"
#include <platform/platformzeroconfcontroller.h>
#include <integrations/thing.h>
#include "plugininfo.h"
#include "platform/platformzeroconfcontroller.h"
#include "network/zeroconf/zeroconfservicebrowser.h"
#include <QDebug>
#include <QStringList>

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,12 +31,14 @@
#ifndef INTEGRATIONPLUGINAVAHIMONITOR_H
#define INTEGRATIONPLUGINAVAHIMONITOR_H
#include "integrations/integrationplugin.h"
#include "network/zeroconf/zeroconfservicebrowser.h"
#include "network/zeroconf/zeroconfserviceentry.h"
#include <integrations/integrationplugin.h>
#include <network/zeroconf/zeroconfservicebrowser.h>
#include <network/zeroconf/zeroconfserviceentry.h>
#include <QProcess>
#include "extern-plugininfo.h"
class IntegrationPluginAvahiMonitor : public IntegrationPlugin
{
Q_OBJECT
@ -56,6 +58,7 @@ private slots:
private:
ZeroConfServiceBrowser *m_serviceBrowser = nullptr;
};
#endif // INTEGRATIONPLUGINAVAHIMONITOR_H