From e3924ea4da320626adfd9e3a0fde930e8e485909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 13 Mar 2026 15:01:56 +0100 Subject: [PATCH] Fix Qt 6 Clang build issues --- eq-3/eqivabluetooth.cpp | 1 - i2cdevices/ina219.cpp | 1 + keba/kecontact.cpp | 1 + openuv/integrationpluginopenuv.cpp | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eq-3/eqivabluetooth.cpp b/eq-3/eqivabluetooth.cpp index 191b3dce..61aeedbf 100644 --- a/eq-3/eqivabluetooth.cpp +++ b/eq-3/eqivabluetooth.cpp @@ -91,7 +91,6 @@ const quint8 modeBoost1 = 0x0C; // at the end it returns to automatic mode const quint8 modeBoost2 = 0x0D; // at the end it returns to manual mode const quint8 modeBoost3 = 0x0E; // at the end it returns to holiday mode -const quint8 lockOff = 0x00; const quint8 windowLockOn = 0x10; const quint8 keyLockOn = 0x20; const quint8 batteryCriticalOn = 0x80; diff --git a/i2cdevices/ina219.cpp b/i2cdevices/ina219.cpp index e8c6e3dc..d7030f0d 100644 --- a/i2cdevices/ina219.cpp +++ b/i2cdevices/ina219.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include "extern-plugininfo.h" diff --git a/keba/kecontact.cpp b/keba/kecontact.cpp index c6138f57..3f866190 100644 --- a/keba/kecontact.cpp +++ b/keba/kecontact.cpp @@ -25,6 +25,7 @@ #include "kecontact.h" #include "extern-plugininfo.h" +#include #include KeContact::KeContact(const QHostAddress &address, KeContactDataLayer *dataLayer, QObject *parent) : diff --git a/openuv/integrationpluginopenuv.cpp b/openuv/integrationpluginopenuv.cpp index 3cf85dea..5f8b67ab 100644 --- a/openuv/integrationpluginopenuv.cpp +++ b/openuv/integrationpluginopenuv.cpp @@ -55,7 +55,7 @@ void IntegrationPluginOpenUv::discoverThings(ThingDiscoveryInfo *info) QNetworkRequest request(QUrl("http://ip-api.com/json")); QNetworkReply* reply = hardwareManager()->networkManager()->get(request); connect(reply, &QNetworkReply::finished, reply, &QNetworkReply::deleteLater); - connect(reply, &QNetworkReply::finished, info, [this, reply, info]() { + connect(reply, &QNetworkReply::finished, info, [reply, info]() { if (reply->error() != QNetworkReply::NoError) { qCWarning(dcOpenUv()) << "Error fetching geolocation from ip-api:" << reply->error() << reply->errorString(); info->finish(Thing::ThingErrorHardwareFailure, QT_TR_NOOP("Failed to fetch data from the internet."));