diff options
author | Michael Brasser <mbrasser@ford.com> | 2018-03-05 17:16:46 -0600 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-03-08 06:31:01 +0000 |
commit | 8d587c9fed01a2a36c1c0e2f5fb10763c5b0c7c5 (patch) | |
tree | fc74cbf59f685014ff6bd280ba12944a3f133d71 /src/qml/qml/qqmlcomponent.cpp | |
parent | d6b7e7f8574ed2a74b3b636e8d0b928be978e2f5 (diff) |
Improve documentation on component creation context
Change-Id: I55adc9c261529ee4b88fbb5591b3955e396437a8
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlcomponent.cpp')
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index 061f3b54a5..3174bbecd3 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -241,6 +241,9 @@ V4_DEFINE_EXTENSION(QQmlComponentExtension, componentExtension); \li main.qml \li \snippet qml/component/main.qml 0 \endtable + + It is important that the lifetime of the creation context outlive any created objects. See + \l{Maintaining Dynamically Created Objects} for more details. */ /*! |