<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src, branch wip/dbus</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Use QStringRef in a bunch of places.</title>
<updated>2015-10-18T23:12:14+00:00</updated>
<author>
<name>Sérgio Martins</name>
<email>sergio.martins@kdab.com</email>
</author>
<published>2015-10-18T14:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4867a49618e0d6a476e0549aeca5134b2e3c5892'/>
<id>4867a49618e0d6a476e0549aeca5134b2e3c5892</id>
<content type='text'>
Done automatically with clazy static analyzer.

Change-Id: Ia0cf8fa24331ab102a3c3c30c2aa92ef1ba772e2
Reviewed-by: Simon Hausmann &lt;simon.hausmann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Done automatically with clazy static analyzer.

Change-Id: Ia0cf8fa24331ab102a3c3c30c2aa92ef1ba772e2
Reviewed-by: Simon Hausmann &lt;simon.hausmann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Put QPacketProtocol into its own static library</title>
<updated>2015-10-15T08:23:15+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@theqtcompany.com</email>
</author>
<published>2015-09-16T11:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2f03049d4cabfac822bcf6b5886b078d70064968'/>
<id>2f03049d4cabfac822bcf6b5886b078d70064968</id>
<content type='text'>
We need it in 3 places in qtdeclarative and we could also use it in
QtCreator. We don't want to bundle it with the debug client code as it
is also necessary for the server.

QPacket replaces QQmlDebugStream as it has the same purpose. This
also fixes the inconsitent handling of data stream versions.

Change-Id: I650fae353f267511c551b427d9169f4d718aa7f2
Reviewed-by: Simon Hausmann &lt;simon.hausmann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need it in 3 places in qtdeclarative and we could also use it in
QtCreator. We don't want to bundle it with the debug client code as it
is also necessary for the server.

QPacket replaces QQmlDebugStream as it has the same purpose. This
also fixes the inconsitent handling of data stream versions.

Change-Id: I650fae353f267511c551b427d9169f4d718aa7f2
Reviewed-by: Simon Hausmann &lt;simon.hausmann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/5.6' into dev</title>
<updated>2015-10-14T13:48:12+00:00</updated>
<author>
<name>Liang Qi</name>
<email>liang.qi@theqtcompany.com</email>
</author>
<published>2015-10-14T13:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=7063fefe4b5e866b27001bb9b911fc2f68034e40'/>
<id>7063fefe4b5e866b27001bb9b911fc2f68034e40</id>
<content type='text'>
Change-Id: I11ea57222ba5aa683b7bfd7735fbc1d2cf86e875
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I11ea57222ba5aa683b7bfd7735fbc1d2cf86e875
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickItem: correct focus reason for key navigation</title>
<updated>2015-10-14T12:10:33+00:00</updated>
<author>
<name>Liang Qi</name>
<email>liang.qi@theqtcompany.com</email>
</author>
<published>2015-10-14T09:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4f3379352a265bab00a7265f85ffc38a9ca4ffe4'/>
<id>4f3379352a265bab00a7265f85ffc38a9ca4ffe4</id>
<content type='text'>
Before we used Qt::OtherFocusReason for normal key navigation, such
as up/down/left/right. But in style world, the reason is critical
for focus change.

Now we follow the way in widgets world, use Qt::TabFocusReason and
Qt::BacktabFocusReason for down/up and right/left(or reversed if
mirrored).

Task-number: QTBUG-41801
Change-Id: I99e97ea4ced2cef9b3280c578c3a463de8fe1727
Reviewed-by: J-P Nurmi &lt;jpnurmi@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before we used Qt::OtherFocusReason for normal key navigation, such
as up/down/left/right. But in style world, the reason is critical
for focus change.

Now we follow the way in widgets world, use Qt::TabFocusReason and
Qt::BacktabFocusReason for down/up and right/left(or reversed if
mirrored).

Task-number: QTBUG-41801
Change-Id: I99e97ea4ced2cef9b3280c578c3a463de8fe1727
Reviewed-by: J-P Nurmi &lt;jpnurmi@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QmlTooling: Rearrange qmltooling.pro</title>
<updated>2015-10-14T08:29:51+00:00</updated>
<author>
<name>hjk</name>
<email>hjk@theqtcompany.com</email>
</author>
<published>2015-10-13T08:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5de27a90e5771535365bc2d1b5c1241368877bf8'/>
<id>5de27a90e5771535365bc2d1b5c1241368877bf8</id>
<content type='text'>
Make the distinction between connectors and services a bit clearer.

Change-Id: I5a8de587beaaed4b4b2138d9d50c5b92fea38df9
Reviewed-by: Ulf Hermann &lt;ulf.hermann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the distinction between connectors and services a bit clearer.

Change-Id: I5a8de587beaaed4b4b2138d9d50c5b92fea38df9
Reviewed-by: Ulf Hermann &lt;ulf.hermann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle QSG_NO_DEPTH_BUFFER correctly</title>
<updated>2015-10-14T07:44:04+00:00</updated>
<author>
<name>Laszlo Agocs</name>
<email>laszlo.agocs@theqtcompany.com</email>
</author>
<published>2015-10-12T15:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9e15fb156a0ef58584661a0599f1f85d7597e87c'/>
<id>9e15fb156a0ef58584661a0599f1f85d7597e87c</id>
<content type='text'>
Just not requesting a depth buffer is insufficient since there's nothing
guaranteeing that the EGL or other implementation will return depthless
configs. When the depth buffer is always there, setting the environment
variable is futile. To do what the user has requested, the value has to
be checked in the renderer too.

Change-Id: I1f572bc6f2f5b5aa94070a239d6e871e3421a51f
Reviewed-by: Louai Al-Khanji &lt;louai.al-khanji@theqtcompany.com&gt;
Reviewed-by: Gunnar Sletta &lt;gunnar@sletta.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just not requesting a depth buffer is insufficient since there's nothing
guaranteeing that the EGL or other implementation will return depthless
configs. When the depth buffer is always there, setting the environment
variable is futile. To do what the user has requested, the value has to
be checked in the renderer too.

Change-Id: I1f572bc6f2f5b5aa94070a239d6e871e3421a51f
Reviewed-by: Louai Al-Khanji &lt;louai.al-khanji@theqtcompany.com&gt;
Reviewed-by: Gunnar Sletta &lt;gunnar@sletta.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qquickitemchangelistener_p.h: add comments for the sake of clarity</title>
<updated>2015-10-13T19:56:47+00:00</updated>
<author>
<name>J-P Nurmi</name>
<email>jpnurmi@theqtcompany.com</email>
</author>
<published>2015-10-10T23:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=83cd7c27ae3d733537cd2cbf54a3ddf0a3c7bb99'/>
<id>83cd7c27ae3d733537cd2cbf54a3ddf0a3c7bb99</id>
<content type='text'>
Change-Id: I63728b127d196d692f42b096e670ea0a3e336968
Reviewed-by: Mitch Curtis &lt;mitch.curtis@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I63728b127d196d692f42b096e670ea0a3e336968
Reviewed-by: Mitch Curtis &lt;mitch.curtis@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qquickitemchangelistener_p.h: remove an extra semi-colon</title>
<updated>2015-10-13T19:56:44+00:00</updated>
<author>
<name>J-P Nurmi</name>
<email>jpnurmi@theqtcompany.com</email>
</author>
<published>2015-10-10T23:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=dbe0be38cbdd9beec08cf98cdb283318571a7b16'/>
<id>dbe0be38cbdd9beec08cf98cdb283318571a7b16</id>
<content type='text'>
Change-Id: I034fa0093aa6dad41c2566a8c7ef8fba9e7d4b82
Reviewed-by: Mitch Curtis &lt;mitch.curtis@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I034fa0093aa6dad41c2566a8c7ef8fba9e7d4b82
Reviewed-by: Mitch Curtis &lt;mitch.curtis@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Libraries: Fix single-character string literals.</title>
<updated>2015-10-13T14:28:52+00:00</updated>
<author>
<name>Friedemann Kleint</name>
<email>Friedemann.Kleint@theqtcompany.com</email>
</author>
<published>2015-10-13T11:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=cd7f1ebdfe2f1b66ea9b8fb1bdab90b710881b82'/>
<id>cd7f1ebdfe2f1b66ea9b8fb1bdab90b710881b82</id>
<content type='text'>
Use character literals where applicable.

Change-Id: I294fc4cb5cbbd23df9735ba2b398118f37cbe08a
Reviewed-by: Simon Hausmann &lt;simon.hausmann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use character literals where applicable.

Change-Id: I294fc4cb5cbbd23df9735ba2b398118f37cbe08a
Reviewed-by: Simon Hausmann &lt;simon.hausmann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a way to set default font rendering at build time.</title>
<updated>2015-10-13T13:37:09+00:00</updated>
<author>
<name>Stephen Kelly</name>
<email>ske@ableton.com</email>
</author>
<published>2015-07-17T11:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f3446071da8357620d0c8593a04e3b4fbba88f21'/>
<id>f3446071da8357620d0c8593a04e3b4fbba88f21</id>
<content type='text'>
QML text rendering elements have a renderType property controlling
whether to use 'Qt' rendering or 'Native' rendering.  There is no reason
to mix different types of rendering in one static ui.  The element-local
properties may be used to change the rendering type during animation
for example, but otherwise there should be an application-wide rendering
mode for text.

That means that all Text-based elements in QML should default to the
same rendering mode.  Additionally, applications wishing to use
NativeRendering, wish to use it for all text-based elements, so they
require changing the defaults of the elements themselves, still allowing
the possibility of changing the rendering mode during animation.

Creating third party wrappers for each of the QML text rendering types
is not a solution because an application requires the same font
rendering for all text.

That is, whether written directly with QML Text* elements, or using
QtQuick controls, or another 3rd party component set, it is necessary to
set the same font rendering mode for all text, except in temporary
execptional cases.

The known options to achieve this are

 1) Create an environment variable to set the default rendering.
 2) Add C++ API to set the default
 3) Add a build-time option to set the default.

The first option is unsatisfying because it is fragile and is easy to
get wrong.

The second option is incomplete because it does not affect qmlscene etc,
so it would require adding a command line argument to qmlscene to change
the default.  That is unsatisfying because it is also fragile.  It is
necessary for the sanity of developers and designers (and also end
users) that qmlscene use the correct default by default.  It must be
easy to create qml files for designers to run with qmlscene and which
look correct.

The third option is the one chosen for this patch.  It is most suitable
for environments where the Qt build and settings are contained because a
particular Qt build is shipped with the application using it (This is
the most common way Qt is used).  It affects all uses of the text
rendering elements, whether used through qmlscene or through another
entry point, and it allows changing the property in QML code away from
the build-time-determined default.

When building Qt, -DQT_QUICK_DEFAULT_TEXT_RENDER_TYPE=NativeRendering
may be passed to configure to affect the default rendering for the Qt
build.

It also leaves the question why the default text rendering is 'Qt'
instead of being 'Native', given that many of the Qt controls need to
switch to Native anyway (though this depends on the platform and the
style).

Change-Id: Ib0eed61caf4895b29e5c05e0418fad9962779f85
Reviewed-by: Eskil Abrahamsen Blomfeldt &lt;eskil.abrahamsen-blomfeldt@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QML text rendering elements have a renderType property controlling
whether to use 'Qt' rendering or 'Native' rendering.  There is no reason
to mix different types of rendering in one static ui.  The element-local
properties may be used to change the rendering type during animation
for example, but otherwise there should be an application-wide rendering
mode for text.

That means that all Text-based elements in QML should default to the
same rendering mode.  Additionally, applications wishing to use
NativeRendering, wish to use it for all text-based elements, so they
require changing the defaults of the elements themselves, still allowing
the possibility of changing the rendering mode during animation.

Creating third party wrappers for each of the QML text rendering types
is not a solution because an application requires the same font
rendering for all text.

That is, whether written directly with QML Text* elements, or using
QtQuick controls, or another 3rd party component set, it is necessary to
set the same font rendering mode for all text, except in temporary
execptional cases.

The known options to achieve this are

 1) Create an environment variable to set the default rendering.
 2) Add C++ API to set the default
 3) Add a build-time option to set the default.

The first option is unsatisfying because it is fragile and is easy to
get wrong.

The second option is incomplete because it does not affect qmlscene etc,
so it would require adding a command line argument to qmlscene to change
the default.  That is unsatisfying because it is also fragile.  It is
necessary for the sanity of developers and designers (and also end
users) that qmlscene use the correct default by default.  It must be
easy to create qml files for designers to run with qmlscene and which
look correct.

The third option is the one chosen for this patch.  It is most suitable
for environments where the Qt build and settings are contained because a
particular Qt build is shipped with the application using it (This is
the most common way Qt is used).  It affects all uses of the text
rendering elements, whether used through qmlscene or through another
entry point, and it allows changing the property in QML code away from
the build-time-determined default.

When building Qt, -DQT_QUICK_DEFAULT_TEXT_RENDER_TYPE=NativeRendering
may be passed to configure to affect the default rendering for the Qt
build.

It also leaves the question why the default text rendering is 'Qt'
instead of being 'Native', given that many of the Qt controls need to
switch to Native anyway (though this depends on the platform and the
style).

Change-Id: Ib0eed61caf4895b29e5c05e0418fad9962779f85
Reviewed-by: Eskil Abrahamsen Blomfeldt &lt;eskil.abrahamsen-blomfeldt@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
