avahimonitor: Add Qt6 support
parent
3257413b74
commit
96b55b8177
|
|
@ -1,8 +1,6 @@
|
|||
include(../plugins.pri)
|
||||
|
||||
QT += network
|
||||
|
||||
TARGET = $$qtLibraryTarget(nymea_integrationpluginavahimonitor)
|
||||
QT *= network
|
||||
|
||||
SOURCES += \
|
||||
integrationpluginavahimonitor.cpp
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue