avahimonitor: Add Qt6 support
parent
3257413b74
commit
96b55b8177
|
|
@ -1,8 +1,6 @@
|
||||||
include(../plugins.pri)
|
include(../plugins.pri)
|
||||||
|
|
||||||
QT += network
|
QT *= network
|
||||||
|
|
||||||
TARGET = $$qtLibraryTarget(nymea_integrationpluginavahimonitor)
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
integrationpluginavahimonitor.cpp
|
integrationpluginavahimonitor.cpp
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*
|
*
|
||||||
* Copyright 2013 - 2020, nymea GmbH
|
* Copyright 2013 - 2025, nymea GmbH
|
||||||
* Contact: contact@nymea.io
|
* Contact: contact@nymea.io
|
||||||
*
|
*
|
||||||
* This file is part of nymea.
|
* This file is part of nymea.
|
||||||
|
|
@ -30,10 +30,10 @@
|
||||||
|
|
||||||
#include "integrationpluginavahimonitor.h"
|
#include "integrationpluginavahimonitor.h"
|
||||||
|
|
||||||
#include "integrations/thing.h"
|
#include <platform/platformzeroconfcontroller.h>
|
||||||
|
#include <integrations/thing.h>
|
||||||
|
|
||||||
#include "plugininfo.h"
|
#include "plugininfo.h"
|
||||||
#include "platform/platformzeroconfcontroller.h"
|
|
||||||
#include "network/zeroconf/zeroconfservicebrowser.h"
|
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*
|
*
|
||||||
* Copyright 2013 - 2020, nymea GmbH
|
* Copyright 2013 - 2025, nymea GmbH
|
||||||
* Contact: contact@nymea.io
|
* Contact: contact@nymea.io
|
||||||
*
|
*
|
||||||
* This file is part of nymea.
|
* This file is part of nymea.
|
||||||
|
|
@ -31,12 +31,14 @@
|
||||||
#ifndef INTEGRATIONPLUGINAVAHIMONITOR_H
|
#ifndef INTEGRATIONPLUGINAVAHIMONITOR_H
|
||||||
#define INTEGRATIONPLUGINAVAHIMONITOR_H
|
#define INTEGRATIONPLUGINAVAHIMONITOR_H
|
||||||
|
|
||||||
#include "integrations/integrationplugin.h"
|
#include <integrations/integrationplugin.h>
|
||||||
#include "network/zeroconf/zeroconfservicebrowser.h"
|
#include <network/zeroconf/zeroconfservicebrowser.h>
|
||||||
#include "network/zeroconf/zeroconfserviceentry.h"
|
#include <network/zeroconf/zeroconfserviceentry.h>
|
||||||
|
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
|
|
||||||
|
#include "extern-plugininfo.h"
|
||||||
|
|
||||||
class IntegrationPluginAvahiMonitor : public IntegrationPlugin
|
class IntegrationPluginAvahiMonitor : public IntegrationPlugin
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
@ -56,6 +58,7 @@ private slots:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ZeroConfServiceBrowser *m_serviceBrowser = nullptr;
|
ZeroConfServiceBrowser *m_serviceBrowser = nullptr;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INTEGRATIONPLUGINAVAHIMONITOR_H
|
#endif // INTEGRATIONPLUGINAVAHIMONITOR_H
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue