From ec951588a8f3264df837459f78cdbe0bc12dfa4e Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 6 Jun 2024 09:26:03 +0200 Subject: [PATCH] Prepare for hiding of logging categories in namespaces We can and should use the new export macro for the client logging categories, but we need to manually define the compositor logging categories now since they are public and we cannot change their symbols. Task-number: QTBUG-67692 Change-Id: If4eb9c390a4851945d308e2b83ef13b12816698a Reviewed-by: David Edmundson --- src/plugins/platforms/wayland/qwaylanddisplay_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylanddisplay_p.h b/src/plugins/platforms/wayland/qwaylanddisplay_p.h index b93a2ecc0d2..1e74c6dd297 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay_p.h +++ b/src/plugins/platforms/wayland/qwaylanddisplay_p.h @@ -60,7 +60,7 @@ namespace QtWayland { namespace QtWaylandClient { -Q_WAYLANDCLIENT_EXPORT Q_DECLARE_LOGGING_CATEGORY(lcQpaWayland); +QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY(lcQpaWayland, Q_WAYLANDCLIENT_EXPORT); class QWaylandInputDevice; class QWaylandBuffer;