wakeonlan: Add Qt6 support
This commit is contained in:
parent
2bc88e5aa2
commit
d9e02a719c
@ -1,6 +1,6 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
*
|
||||
* Copyright 2013 - 2020, nymea GmbH
|
||||
* Copyright 2013 - 2025, nymea GmbH
|
||||
* Contact: contact@nymea.io
|
||||
*
|
||||
* This file is part of nymea.
|
||||
@ -29,13 +29,13 @@
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#include "integrationpluginwakeonlan.h"
|
||||
|
||||
#include "integrations/thing.h"
|
||||
#include "plugininfo.h"
|
||||
|
||||
#include "network/networkdevicediscovery.h"
|
||||
#include <integrations/thing.h>
|
||||
#include <network/networkdevicediscovery.h>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QProcess>
|
||||
#include <QStringList>
|
||||
#include <QUdpSocket>
|
||||
|
||||
|
||||
@ -31,9 +31,7 @@
|
||||
#ifndef INTEGRATIONPLUGINWAKEONLAN_H
|
||||
#define INTEGRATIONPLUGINWAKEONLAN_H
|
||||
|
||||
#include "integrations/integrationplugin.h"
|
||||
|
||||
#include <QProcess>
|
||||
#include <integrations/integrationplugin.h>
|
||||
|
||||
class IntegrationPluginWakeOnLan : public IntegrationPlugin
|
||||
{
|
||||
@ -46,7 +44,6 @@ public:
|
||||
explicit IntegrationPluginWakeOnLan();
|
||||
|
||||
void discoverThings(ThingDiscoveryInfo *info) override;
|
||||
|
||||
void executeAction(ThingActionInfo *info) override;
|
||||
|
||||
private slots:
|
||||
|
||||
@ -1,8 +1,6 @@
|
||||
include(../plugins.pri)
|
||||
|
||||
TARGET = $$qtLibraryTarget(nymea_integrationpluginwakeonlan)
|
||||
|
||||
QT += network
|
||||
QT *= network
|
||||
|
||||
SOURCES += \
|
||||
integrationpluginwakeonlan.cpp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user