From 1f7749ad31d790ed030e66f9827356c1684137ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4=C3=A4tt=C3=A4?= Date: Thu, 5 Oct 2023 14:37:15 +0300 Subject: [PATCH] Fix CTF with namespace build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include moc must be outside the namespace. Pick-to: 6.5 Change-Id: Ibdd539b5fdd8ab4aeb0019bcbb62d5702c310065 Reviewed-by: Antti Määttä (cherry picked from commit 0bbb2f6981d3109b1e1e20639b88c6a05e6798e3) Reviewed-by: Qt Cherry-pick Bot --- src/plugins/tracing/qctfplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/tracing/qctfplugin.cpp b/src/plugins/tracing/qctfplugin.cpp index daa2b3637e1..93e508e1990 100644 --- a/src/plugins/tracing/qctfplugin.cpp +++ b/src/plugins/tracing/qctfplugin.cpp @@ -58,6 +58,6 @@ private: bool *m_shutdown = nullptr; }; -#include "qctfplugin.moc" - QT_END_NAMESPACE + +#include "qctfplugin.moc"