From d935f0eb4087406962a7fba965e2b8643002ce04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Mon, 11 Aug 2025 15:05:15 +0200 Subject: [PATCH] wemo: Add Qt6 support --- wemo/integrationpluginwemo.cpp | 11 ++++++----- wemo/integrationpluginwemo.h | 6 +++--- wemo/wemo.pro | 4 +--- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/wemo/integrationpluginwemo.cpp b/wemo/integrationpluginwemo.cpp index 4fb39adc..1dd3e9ad 100644 --- a/wemo/integrationpluginwemo.cpp +++ b/wemo/integrationpluginwemo.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. @@ -29,11 +29,12 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "integrationpluginwemo.h" - -#include "integrations/thing.h" #include "plugininfo.h" -#include "network/networkaccessmanager.h" -#include "network/upnp/upnpdiscovery.h" + +#include +#include +#include +#include #include #include diff --git a/wemo/integrationpluginwemo.h b/wemo/integrationpluginwemo.h index ac813fef..4d9e6e6e 100644 --- a/wemo/integrationpluginwemo.h +++ b/wemo/integrationpluginwemo.h @@ -31,10 +31,10 @@ #ifndef INTEGRATIONPLUGINWEMO_H #define INTEGRATIONPLUGINWEMO_H -#include "plugintimer.h" -#include "integrations/integrationplugin.h" +#include -#include +class QNetworkReply; +class PluginTimer; class IntegrationPluginWemo : public IntegrationPlugin { diff --git a/wemo/wemo.pro b/wemo/wemo.pro index 3c2ddd9e..0b55c56d 100644 --- a/wemo/wemo.pro +++ b/wemo/wemo.pro @@ -1,8 +1,6 @@ include(../plugins.pri) -TARGET = $$qtLibraryTarget(nymea_integrationpluginwemo) - -QT+= network +QT *= network SOURCES += \ integrationpluginwemo.cpp