From bf23fc3cdc29e5129482a871324b4a145b6c18ca Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 16 Apr 2021 12:37:35 +0200 Subject: [PATCH] Make the documented API visible to qdoc Pick-to: 6.1 Change-Id: Ic511af71cd0cc202f86fd39f5a4e0707bcf9fe36 Reviewed-by: Fabian Kosmale --- src/corelib/kernel/qmetatype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index c08a87efd95..1d039b6f18a 100644 --- a/src/corelib/kernel/qmetatype.h +++ b/src/corelib/kernel/qmetatype.h @@ -444,7 +444,7 @@ public: bool isValid() const; bool isRegistered() const; -#if defined(QT_QMETATYPE_BC_COMPAT) +#if defined(QT_QMETATYPE_BC_COMPAT) || defined(Q_QDOC) int id() const; #else // ### Qt 7: Remove traces of out of line version