From 10e6d8688b110c718ddd459ec2b2b326fe15643f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 5 Nov 2024 16:32:06 +0100 Subject: [PATCH] Remove unusable Q_OBJECT qdoc macro Commit e2ff9e3b9957 was adding Q_OBJECT as a qdoc macro to allow to mask Q_OBJECT calls that are part of the documentation. Anyhow, while qdoc does allow the underscore in the _definition_ of macros, it doesn't allow it for the _invocation_. The questionable places should rather use snippet files. Fixes: QTBUG-130799 Change-Id: I13bac0334b67ba7072946ab7d3f34c7a304c3f84 Reviewed-by: Paul Wicking (cherry picked from commit 112a9f96df9f907abca983a4746268ed72c8ef62) Reviewed-by: Qt Cherry-pick Bot --- doc/global/macros.qdocconf | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/global/macros.qdocconf b/doc/global/macros.qdocconf index 24a0d8c0fd..96b4086359 100644 --- a/doc/global/macros.qdocconf +++ b/doc/global/macros.qdocconf @@ -27,7 +27,6 @@ macro.ouml.HTML = "ö" macro.ouml.DocBook = "ö" macro.nothing = "\\dontdocument ()" macro.nullptr = "\\c{nullptr}" -macro.Q_OBJECT = "Q_OBJECT" macro.QtVersion = "$QT_VERSION" macro.QtVer = "$QT_VER" macro.param = "\\e"