/usr/share/qt5/doc/qtqml/qtqml-releasenotes.html is in qtdeclarative5-doc-html 5.2.1-3ubuntu15.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- whatsnew.qdoc -->
<title>Qt QML Release Notes | QtQml 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtqml-index.html">Qt QML</a></li>
<li>Qt QML Release Notes</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#qt-qml-in-qt-5-1">Qt QML in Qt 5.1</a></li>
<li class="level2"><a href="#new-submodule">New Submodule</a></li>
<li class="level1"><a href="#qt-qml-in-qt-5-0">Qt QML in Qt 5.0</a></li>
<li class="level2"><a href="#qml-engine">QML Engine</a></li>
<li class="level2"><a href="#component-and-object-creation">Component and Object Creation</a></li>
<li class="level2"><a href="#type-system">Type System</a></li>
<li class="level2"><a href="#modules-and-imports">Modules and Imports</a></li>
<li class="level2"><a href="#other">Other</a></li>
</ul>
</div>
<h1 class="title">Qt QML Release Notes</h1>
<span class="subtitle"></span>
<!-- $$$qtqml-releasenotes.html-description -->
<div class="descr"> <a name="details"></a>
<a name="qt-qml-in-qt-5-1"></a>
<h2>Qt QML in Qt 5.1</h2>
<p>Qt 5.1 introduces several bug fixes and new functionalities to Qt QML. This is a summary of the new changes:</p>
<ul>
<li>New <a href="qqmlapplicationengine.html">QQmlApplicationEngine</a> convenience class for QML applications.</li>
<li>New Instantiatior type for generic, dynamic object creation.</li>
<li>New properties for <a href="qml-qtqml-qt.html#application-prop">Qt.application</a>: arguments, name, and version.</li>
<li>The 'with' statement has been deprecated and is slated for removal in a future version of the language.</li>
<li>New <a href="qml-qtqml-qt.html#platform-prop">Qt.platform</a> object with an <tt>os</tt> property</li>
<li>New <a href="qqmlengine.html#qmlClearTypeRegistrations">qmlClearTypeRegistrations</a>() function drops all data from <a href="qqmlengine.html#qmlRegisterType">qmlRegisterType</a>() calls</li>
<li>New <a href="qqmlengine.html#qmlRegisterType">qmlRegisterType</a>() function for registering composite types.</li>
</ul>
<a name="new-submodule"></a>
<h3>New Submodule</h3>
<p>The <a href="qtqml-models-qmlmodule.html">Qt QML Models</a> is a new submodule in Qt 5.1 and provides several QML types for handling data with models and lists. These types replace types such as <a href="qml-qtquick-visualitemmodel.html">VisualItemModel</a>, <a href="qml-qtquick-visualdatamodel.html">VisualDataModel</a>, and <a href="qml-qtquick-visualdatagroup.html">VisualDataGroup</a>.</p>
<ul>
<li><a href="qtqml-models-qmlmodule.html">Models</a></li>
</ul>
<p>The What's New in Qt 5.1 has more information about the Qt 5.1 release.</p>
<a name="qt-qml-in-qt-5-0"></a>
<h2>Qt QML in Qt 5.0</h2>
<p>The <a href="qtqml-index.html">Qt QML</a> module is new in Qt 5.0. It provides the QML engine and implements the QML language supporting infrastructure.</p>
<p>(Prior to Qt 5, this functionality was provided by the QtDeclarative module, which has now been replaced by the new <a href="qtqml-index.html">Qt QML</a> and Qt Quick modules. See the Porting QML Applications to Qt 5 page for more information.)</p>
<a name="qml-engine"></a>
<h3>QML Engine</h3>
<ul>
<li>JavaScript engine has changed to V8.</li>
<li>Various parser and compiler optimizations have been implemented, as well as a new bindings optimizer.</li>
<li>New <a href="qqmlengine.html#trimComponentCache">QQmlEngine::trimComponentCache</a>() method safely discards unused data in the engine's component cache to free memory.</li>
</ul>
<a name="component-and-object-creation"></a>
<h3>Component and Object Creation</h3>
<ul>
<li>QML objects can now be created asynchronously to improve application performance.<ul>
<li>New <a href="qqmlincubator.html">QQmlIncubator</a> and <a href="qqmlincubationcontroller.html">QQmlIncubationController</a> C++ classes can be used to create objects asynchronously.</li>
<li>From QML code, this behavior can enabled by:<ul>
<li>Calling the new Component <a href="qml-qtqml-component.html#incubateObject-method">Component::incubateObject</a> method</li>
<li>Passing the <tt>Component.Asynchronous</tt> parameter to <tt>Qt.createComponent()</tt></li>
<li>Loading a Loader object asynchronously using the asynchronous property</li>
</ul>
</li>
</ul>
</li>
<li>The component returned by <tt>Qt.createComponent()</tt> is no longer parented to the engine. Be sure to hold a reference, or provide a parent.</li>
</ul>
<a name="type-system"></a>
<h3>Type System</h3>
<ul>
<li>New <a href="qml-var.html">var</a> property type. This is a general-purpose property type which obsoletes the <a href="qml-variant.html" class="obsolete">variant<sup>(obsolete)</sup></a> type. Properties of the <a href="qml-var.html">var</a> type may hold JavaScript references.</li>
<li>QML properties of type <a href="qml-var.html">var</a> and <a href="qml-variant.html" class="obsolete">variant<sup>(obsolete)</sup></a> can now hold pixmaps. See Scarce Resources in JavaScript for more information.</li>
<li>Value type improvements:<ul>
<li>QML now supports defining properties of value type basic types within QML documents. Supported types include QSizeF, QPointF and QRectF as <tt>size</tt>, <tt>point</tt> and <tt>rect</tt> respectively.</li>
<li>QColor is now a value type provided by the <tt>QtQuick</tt> module. The red, green, blue and alpha channels of a color property can be accessed via <tt>r</tt>, <tt>g</tt>, <tt>b</tt> and <tt>a</tt> properties.</li>
<li>Factory functions for various value types have been added to the <tt>Qt</tt> object exposed to QML. Some of those functions require the <tt>QtQuick</tt> module to be imported in order to return valid values. See the Qt Quick Release Notes for more information about these functions.</li>
</ul>
</li>
<li>Support for sequence types QList<int>, QList<qreal>, QList<bool>, QList<QUrl>, QList<QString> and QStringList has been improved. QObjects can define Q_PROPERTYs of these types which can be accessed transparently from JavaScript.</li>
</ul>
<a name="modules-and-imports"></a>
<h3>Modules and Imports</h3>
<ul>
<li>Arbitrary functionality may be provided in a namespace through a singleton type. See <a href="qqmlengine.html#qmlRegisterSingletonType">qmlRegisterSingletonType</a>() for more information.</li>
<li>JavaScript (.js) files may now import QML modules and other JavaScript files using the ".import" syntax.</li>
<li>Plugins may now use QQmlExtensionPlugin::baseUrl to get the directory from which the plugin is loaded. This will be useful if the plugin needs to load QML or other assets from the same directory.</li>
</ul>
<a name="other"></a>
<h3>Other</h3>
<ul>
<li><a href="qqmlexpression.html">QQmlExpression</a> can now be constructed directly (and more efficiently) from a <a href="qqmlscriptstring.html">QQmlScriptString</a>.</li>
<li>The <a href="qml-qtqml-qt.html">Qt</a> global object now provides an <a href="qml-qtqml-qt.html#inputMethod-prop">inputMethod</a> property to access the active text input method for an application.</li>
</ul>
</div>
<!-- @@@qtqml-releasenotes.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|