diff options
author | Bea Lam <bea.lam@nokia.com> | 2012-06-27 16:49:20 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 04:32:21 +0200 |
commit | 5796f88d544a59c507356a8830d72957104d73db (patch) | |
tree | 216f052f807e8078abb7e0b66586c8b05141670a /src/qml/doc/src/whatsnew.qdoc | |
parent | f4e75e134f5712156ad2b720b48265da683dda94 (diff) |
Add porting guide for QML apps
Change-Id: Ie633b5c7457a6223b49dca35b07cf1d5ad723fc7
Reviewed-by: Martin Jones
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/qml/doc/src/whatsnew.qdoc')
-rw-r--r-- | src/qml/doc/src/whatsnew.qdoc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qml/doc/src/whatsnew.qdoc b/src/qml/doc/src/whatsnew.qdoc index 8640094d4c..55ee20ac71 100644 --- a/src/qml/doc/src/whatsnew.qdoc +++ b/src/qml/doc/src/whatsnew.qdoc @@ -36,7 +36,8 @@ The QtQml C++ module is new in Qt 5. It provides the QML engine and implements the QML language supporting infrastructure. (Prior to Qt 5, this functionality was provided by the QtDeclarative module, which -has now been replaced by the new QtQml and QtQuick C++ modules.) +has now been replaced by the new QtQml and QtQuick C++ modules. See the +\l {Porting QML Applications to Qt 5} for more information.) \section2 QML Engine @@ -49,7 +50,11 @@ has now been replaced by the new QtQml and QtQuick C++ modules.) \section2 Component and Object creation \list -\li Loading/compilation can now be performed in a separate thread. Enable this by loading a \l Loader object asynchronously through its \l{Loader::}{source} property, or by passing the \c Component.Asynchronous parameter to \c Qt.createComponent(). +\li QML objects can now be created asynchronously to improve application performance. + \list + \li New QQmlIncubator and QQmlIncubationController C++ classes can be used to create objects asynchronously. + \li From QML code, this behavior is enabled by loading a \l Loader object asynchronously through its \l{Loader::}{source} property, or by passing the \c Component.Asynchronous parameter to \c Qt.createComponent(). + \endlist \li The component returned by \c Qt.createComponent() is no longer parented to the engine. Be sure to hold a reference, or provide a parent. \endlist |