summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-01-03 13:12:17 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2023-01-17 13:36:56 +0000
commit20a6f938f43d2a8651dcb7f02fa64113f82183ef (patch)
tree7a106c19735ecc8fe44997e714d2b478dbaf369b
parent9b35dfd1a032cf37ea4c30a24761691a7febcd4c (diff)
downloadqtdoc-20a6f938f43d2a8651dcb7f02fa64113f82183ef.tar.gz
Add QML module changes to whatsnew65
Change-Id: I1d9e8661ec0f9495edf5b98886d89568c0231956 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 822bd4382d726486a6cd6ae987b019049603a6f0) Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--doc/src/whatsnew/whatsnew65.qdoc23
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/src/whatsnew/whatsnew65.qdoc b/doc/src/whatsnew/whatsnew65.qdoc
index f539b50b..fce2df6b 100644
--- a/doc/src/whatsnew/whatsnew65.qdoc
+++ b/doc/src/whatsnew/whatsnew65.qdoc
@@ -144,7 +144,28 @@
\section2 Qt QML Module
\list
- \li Nothing to see here. //! TODO Clean this up before release.
+ \li API has been added to \l QQmlApplicationEngine and \l QQmlComponent
+ to load/create QML elements via their module URI and type-name.
+ In contrast to the URL based functions, this also works with C++
+ types and inline components.
+ \li \l QQmlListProperty properties now behave more like arrays,
+ gaining support for methods like map(), reduce() and forEach().
+ The same holds for other sequence types, like QList<int> and
+ similar.
+ \li A new \l{AUTO_RESOURCE_PREFIX} attribute has been added to
+ \l{qt_add_qml_module} to automate the setting of resource prefixes.
+ If you use it, the QML engine will always be able to find your
+ QML modules in the resource file system.
+ \li Extended the \l{QML Type Compiler}{qmltc} to support more
+ qml constructs, notably translation bindings, inline
+ components, singletons and signal handlers for c++-defined
+ signals.
+ \li The \l{QML Script Compiler} can handle additional constructs. In
+ particular: console.log() and friends, \c{let} and \c{const},
+ qsTr() and friends, arg() for strings, all the remaining bitwise and
+ shift operators, the exponentiation operator.
+ \li \l{The QML Disk Cache} can be controlled in a more fine grained way
+ using the new environment variable \l{QML_DISK_CACHE}.
\endlist
\section2 Qt Quick 3D Module