From 38696eadc49209d2acdbf7331cba42c71ed2f237 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 6 Jun 2024 13:44:35 +0200 Subject: QtQml: Straighten out some logging categories Either make them static or declare them in a header. We want them to be static wherever possible, in order to reduce the number of visible symbols. If they can't be static, however, they should at least be declared in only one place. Task-number: QTBUG-67692 Change-Id: I91fa641b46510ea8902b478d31dfd60d34b5f580 Reviewed-by: Fabian Kosmale --- src/qml/jsruntime/qv4qmlcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4qmlcontext.cpp') diff --git a/src/qml/jsruntime/qv4qmlcontext.cpp b/src/qml/jsruntime/qv4qmlcontext.cpp index 53444cddb7..e1e882cb06 100644 --- a/src/qml/jsruntime/qv4qmlcontext.cpp +++ b/src/qml/jsruntime/qv4qmlcontext.cpp @@ -26,7 +26,7 @@ QT_BEGIN_NAMESPACE -Q_LOGGING_CATEGORY(lcQmlContext, "qt.qml.context"); +Q_STATIC_LOGGING_CATEGORY(lcQmlContext, "qt.qml.context"); using namespace QV4; -- cgit v1.2.3