diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-11-23 13:17:40 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-23 14:53:16 +0000 |
commit | dcbde9793533fbe79d8facf2e9089494765cf2bd (patch) | |
tree | 83eb207dcf4327c3e72abd963a9a3d6f23861640 /src/qml/doc/src | |
parent | 9c733e3944e93c7eb7c9e1f4dcd22dce3d34206e (diff) |
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r-- | src/qml/doc/src/qmlfunctions.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc index f7a84e6584..9136bc36cc 100644 --- a/src/qml/doc/src/qmlfunctions.qdoc +++ b/src/qml/doc/src/qmlfunctions.qdoc @@ -269,6 +269,10 @@ for example because they belong to 3rdparty libraries. To register a namespace, see \l QML_FOREIGN_NAMESPACE(). + \b{NOTE:} You may want to use \l QML_NAMED_ELEMENT() instead of \l QML_ELEMENT due to the fact that + the element will be named like the struct it is contained in, not the foreign type. + See \l {Extending QML - Extension Objects Example} for an example. + \sa QML_ELEMENT, QML_NAMED_ELEMENT(), QML_FOREIGN_NAMESPACE() */ |