From 37acc1ba2609738f3361113e1e6a813b3735e504 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 10 Jul 2024 17:27:32 +0200 Subject: [PATCH] Make logging category static Silence warnings when building for Android. Change-Id: I09e3a217535ccbf28fb84e60ae12b0d7049fe7e3 Reviewed-by: Assam Boudjelthia --- src/platformsupport/devicediscovery/qdevicediscovery_static.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp b/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp index 8b29c660acd..9b0e632e0c0 100644 --- a/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp +++ b/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp @@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals; -Q_LOGGING_CATEGORY(lcDD, "qt.qpa.input") +Q_STATIC_LOGGING_CATEGORY(lcDD, "qt.qpa.input") QDeviceDiscovery *QDeviceDiscovery::create(QDeviceTypes types, QObject *parent) {