openweathermap: Add Qt6 support
parent
22191713af
commit
acf5e36925
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue