aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorAlan Alpert <aalpert@blackberry.com>2013-06-22 20:10:21 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-25 17:43:54 +0200
commita4754a30abc6f650885cbd20d0419da26a504220 (patch)
tree091b46d03ad997a7180a18001a13318ab73041d1 /dist
parentcf01eac77c555fa559e52bdd32c71c960ac741f5 (diff)
Update 5.1.0 changelog and what's new
All the new features should now be listed in those two documents Change-Id: Ifa17581bf589f3a18b602f8a1d10683a5e48c70d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.1.062
1 files changed, 58 insertions, 4 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0
index eaf6d05094..528260e760 100644
--- a/dist/changes-5.1.0
+++ b/dist/changes-5.1.0
@@ -21,7 +21,12 @@ information about a particular change.
General Improvements
--------------------
-
+- The Qt.application object in QML has gained the following new members
+ * arguments property, containing any command line arguments of the application
+ * name property, containing the string of the application name
+ * version property, containing the string of the application version
+ * aboutToQuit() signal, allowing last-minute cleanup
+- New Qt.platform.os property exposes the current platform.
Third party components
----------------------
@@ -42,9 +47,10 @@ Third party components
- As part of a fix for QTBUG-30555, ListView and GridView properties, such
as count, which are based off of the data model will no longer update
immediately if queried. Updates are batched to happen once per frame (or
- when properties are being set).
+ when properties are being set). You may manually update using the
+ forceLayout() method, new in QtQuick 2.1.
- - tryCompare now correctly fails when it only gets two parameters
+ - For QML tests, tryCompare now correctly fails when it only gets two parameters
- If a QObject has a property and a slot (or invokable method) with the same
name, in QML the previous behavior was to let the property obscure the
@@ -53,11 +59,41 @@ Third party components
for objects having dynamic properties, such as QQmlPropertyMap. This change
was a consequence of the fix for QTBUG-29836.
+ - The 'with' statement has been deprecated in the QML language. Using this
+ statement now produces a deprecation warning, and future versions of the
+ QML engine may not recognize it.
+
+ - The implicit import is now only loaded for QML files if there are
+ unresolved types after loading all explicit imports. Applications where
+ the implicit import triggered code other than the registration of types
+ will now need to add import "." to their QML files.
+
****************************************************************************
* Library *
****************************************************************************
+QtQml
+------
+ - New QML import version QtQml.Models 2.1 contains generic versions of the VisualModel
+ types. These new generic versions work with any QObject based delegate,
+ not just QQuickItem based delegates.
+ - New module version QtQml 2.1 provides the new Instantiator type, which
+ is a generic version of Repeater which works with any QObject based
+ delegate, not just QQuickItem based delegates.
+ - New convenience class QQmlApplicationEngine automatically provides
+ functionality common in the C++ shell of a primarily QML application.
+ - New qmlClearTypeRegistrations() function in qqml.h. This function drops all
+ static data generated by previous qmlRegisterType calls.
+ - New qmlRegisteredType function in qqml.h, allowing the registration of
+ composite types from C++.
+
+QtQuick
+------
+ - New QML import version QtQuick 2.1 contains no new types, but adds new
+ properties, methods and signals to existing types. See the release notes
+ in the QtQuick documentation for details.
- QTBUG-30837: The Flickable type no longer fixes up the content area on
startup to move it inside the viewport.
+ - QTBUG-28086: Remote image URLs now work as a source for AnimatedSprite
****************************************************************************
@@ -68,7 +104,11 @@ Third party components
****************************************************************************
* Platform Specific Changes *
****************************************************************************
-
+ - New threaded render loop for Mac and Linux should lead to improved
+ graphical performance of QtQuick 2 on those platforms.
+ - New render loop on Windows should lead to smoother animations.
+ - assets: scheme supported on Android for urls inside QML
+ - Mac: "@2x" images are now loaded on "retina" systems.
****************************************************************************
* Compiler Specific Changes *
@@ -79,9 +119,23 @@ Third party components
* Tools *
****************************************************************************
+- qmlplugindump gains a -relocatable flag.
****************************************************************************
* Plugins *
****************************************************************************
+- New QML import QtQuick.Dialogs 1.0 contains types for more easily adding
+ dialogs to an application. Initially comes with FileDialog and ColorDialog
+
+- New QML import version QtQuick.Window 2.1 adds many new properties to both
+ the Screen and Window types. See the release notes in the QtQuick
+ documentation for further details.
+
+- QTBUG-30915: Animating emitRate on Emitter no longer fails for specific
+ animation timings. As a side effect, when emitting infinite particles
+ changing the particle count will no longer have an effect after initial
+ emission (previously it no longer had an effect after a certain point
+ into the animation).
+