wakeonlan: Add Qt6 support

This commit is contained in:
Simon Stürz 2025-08-11 15:03:32 +02:00
parent 2bc88e5aa2
commit d9e02a719c
3 changed files with 6 additions and 11 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.
@ -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>

View File

@ -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:

View File

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