summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-16 12:37:35 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-16 18:43:46 +0200
commitbf23fc3cdc29e5129482a871324b4a145b6c18ca (patch)
tree3916c801b22d6e292e67af86b59c84b1c2f790e1 /src
parent70d99512eee2c1077024a5f21eca47af1066cfaf (diff)
Make the documented API visible to qdoc
Pick-to: 6.1 Change-Id: Ic511af71cd0cc202f86fd39f5a4e0707bcf9fe36 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qmetatype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h
index c08a87efd9..1d039b6f18 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