openweathermap: Add Qt6 support

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

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

View File

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