openweathermap: Add Qt6 support

This commit is contained in:
Simon Stürz 2025-08-08 15:40:55 +02:00
parent 22191713af
commit acf5e36925
3 changed files with 11 additions and 12 deletions

View File

@ -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.
@ -29,7 +29,6 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "integrationpluginopenweathermap.h" #include "integrationpluginopenweathermap.h"
#include "integrations/thing.h"
#include "plugininfo.h" #include "plugininfo.h"
#include <QDebug> #include <QDebug>
@ -40,7 +39,10 @@
#include <QDateTime> #include <QDateTime>
#include <QTimeZone> #include <QTimeZone>
#include <QSettings> #include <QSettings>
#include "nymeasettings.h"
#include <nymeasettings.h>
#include <integrations/thing.h>
#include <network/networkaccessmanager.h>
IntegrationPluginOpenweathermap::IntegrationPluginOpenweathermap() IntegrationPluginOpenweathermap::IntegrationPluginOpenweathermap()
{ {

View File

@ -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,9 +31,8 @@
#ifndef INTEGRATIONPLUGINOPENWEATHERMAP_H #ifndef INTEGRATIONPLUGINOPENWEATHERMAP_H
#define INTEGRATIONPLUGINOPENWEATHERMAP_H #define INTEGRATIONPLUGINOPENWEATHERMAP_H
#include "plugintimer.h" #include <integrations/integrationplugin.h>
#include "integrations/integrationplugin.h" #include <plugintimer.h>
#include "network/networkaccessmanager.h"
#include <QTimer> #include <QTimer>
#include <QHostAddress> #include <QHostAddress>

View File

@ -1,13 +1,11 @@
include(../plugins.pri) include(../plugins.pri)
TARGET = $$qtLibraryTarget(nymea_integrationpluginopenweathermap) QT *= network
QT+= network
SOURCES += \ SOURCES += \
integrationpluginopenweathermap.cpp \ integrationpluginopenweathermap.cpp
HEADERS += \ HEADERS += \
integrationpluginopenweathermap.h \ integrationpluginopenweathermap.h