<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch 6.7.2</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Update dependencies on '6.7.2' in qt/qtdeclarative</title>
<updated>2024-06-07T21:28:01+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2024-06-07T21:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=12533cc0bd83a2076efb4af0bc1832b0db9568fc'/>
<id>12533cc0bd83a2076efb4af0bc1832b0db9568fc</id>
<content type='text'>
Change-Id: I4561ca428f7204827c7a704275cac56a08f34a27
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I4561ca428f7204827c7a704275cac56a08f34a27
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.7.2' in qt/qtdeclarative</title>
<updated>2024-06-06T03:48:28+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2024-06-06T03:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d19ca92c27844fbd48f37b05c51ecec8a4b05551'/>
<id>d19ca92c27844fbd48f37b05c51ecec8a4b05551</id>
<content type='text'>
Change-Id: I153ee6983f78023984a01175b4bf9d49f462296d
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I153ee6983f78023984a01175b4bf9d49f462296d
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.7' in qt/qtdeclarative</title>
<updated>2024-06-03T03:46:09+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2024-06-03T03:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fd27949ae2276700d04bd1e5db1d1577870c7559'/>
<id>fd27949ae2276700d04bd1e5db1d1577870c7559</id>
<content type='text'>
Change-Id: I32c52a84a17577ca949bbe6f66d7cce45a712f9d
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I32c52a84a17577ca949bbe6f66d7cce45a712f9d
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.7' in qt/qtdeclarative</title>
<updated>2024-05-31T03:40:36+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2024-05-31T03:40:31+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=a25cb929fc2b563b406f484914a041e035bca286'/>
<id>a25cb929fc2b563b406f484914a041e035bca286</id>
<content type='text'>
Change-Id: Iefd020971414bc6e970bdc911ebab53bfb52a838
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iefd020971414bc6e970bdc911ebab53bfb52a838
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DelegateModel: Fix crash when model changes during model reset</title>
<updated>2024-05-30T23:25:53+00:00</updated>
<author>
<name>David Redondo</name>
<email>qt@david-redondo.de</email>
</author>
<published>2024-05-29T13:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2def337448566c719aed9b78d63bc70cbbc26944'/>
<id>2def337448566c719aed9b78d63bc70cbbc26944</id>
<content type='text'>
There are two issues here at play that interact to a crash. First is using
sender() inside the slot of a single shot connection. This doesn't work
reliably as inside doActivate the connection is removed before invoking
the slot. However QObject::sender() will look through all connections to
find one with the same sender as the currentSender otherwise it returns
nullptr. Which means as long as there are other connections to the same
object sender() would still work. This brings us to the second issue,
if the model changes between modelAboutToBeReset and modelReset, down
the line the signal from the old model would still be handled and
since there were no other connections to the old model anymore crash.

Change-Id: I71af46ec691e0c130cf367ac9fa04308c0826481
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 1c2ff06654bf33dffbceaadcf777134a9121d5e4)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are two issues here at play that interact to a crash. First is using
sender() inside the slot of a single shot connection. This doesn't work
reliably as inside doActivate the connection is removed before invoking
the slot. However QObject::sender() will look through all connections to
find one with the same sender as the currentSender otherwise it returns
nullptr. Which means as long as there are other connections to the same
object sender() would still work. This brings us to the second issue,
if the model changes between modelAboutToBeReset and modelReset, down
the line the signal from the old model would still be handled and
since there were no other connections to the old model anymore crash.

Change-Id: I71af46ec691e0c130cf367ac9fa04308c0826481
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 1c2ff06654bf33dffbceaadcf777134a9121d5e4)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't update transform if it hasn't changed</title>
<updated>2024-05-30T23:25:52+00:00</updated>
<author>
<name>Eskil Abrahamsen Blomfeldt</name>
<email>eskil.abrahamsen-blomfeldt@qt.io</email>
</author>
<published>2024-05-30T06:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=994bfd41b21b38246a85c4fe9f49d8714dac32c5'/>
<id>994bfd41b21b38246a85c4fe9f49d8714dac32c5</id>
<content type='text'>
Updating the transform marks it as dirty and causes rebatching.
Since we were doing this even when nothing had changed, we were
essentially rebatching every time there was any update to the
shape. We should leave it to the node to decide if it has
been updated.

This adds two tests that verify that rebatching still happens
when changing the color/gradient of the shape.

Change-Id: Iefb7a21a89ac2c31053e473cf689fa06e34a40d5
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
(cherry picked from commit e3d0233bbe3e130c72e3957c45007097c019530d)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updating the transform marks it as dirty and causes rebatching.
Since we were doing this even when nothing had changed, we were
essentially rebatching every time there was any update to the
shape. We should leave it to the node to decide if it has
been updated.

This adds two tests that verify that rebatching still happens
when changing the color/gradient of the shape.

Change-Id: Iefb7a21a89ac2c31053e473cf689fa06e34a40d5
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
(cherry picked from commit e3d0233bbe3e130c72e3957c45007097c019530d)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Document and uphold precondition of metaTypeFromJS()</title>
<updated>2024-05-30T07:55:41+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-05-23T11:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f5f99985b8cb1d04a3d230a21ccf603b220dcdfd'/>
<id>f5f99985b8cb1d04a3d230a21ccf603b220dcdfd</id>
<content type='text'>
The value needs to be a default-constructed instance. Otherwise a number
of branches in this method produce unwanted effects, such as appending
to an already existing array rather than creating a new one.

Amends commit 1b89c1edcae68351632c2755e5408410c2ff98e3.

Pick-to: 6.5
Fixes: QTBUG-125429
Change-Id: If175a02b3a794573abc03df206fbddd41f2855b4
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit c16a3e5adb59f6da5e39e51ca15a4d5324d68d1c)
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value needs to be a default-constructed instance. Otherwise a number
of branches in this method produce unwanted effects, such as appending
to an already existing array rather than creating a new one.

Amends commit 1b89c1edcae68351632c2755e5408410c2ff98e3.

Pick-to: 6.5
Fixes: QTBUG-125429
Change-Id: If175a02b3a794573abc03df206fbddd41f2855b4
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit c16a3e5adb59f6da5e39e51ca15a4d5324d68d1c)
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Capitalize Singleton in code snippet</title>
<updated>2024-05-29T19:25:00+00:00</updated>
<author>
<name>Andreas Eliasson</name>
<email>andreas.eliasson@qt.io</email>
</author>
<published>2024-05-22T10:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5911f307e1b0b5c6e263e74fd5ec9c73c8c865ec'/>
<id>5911f307e1b0b5c6e263e74fd5ec9c73c8c865ec</id>
<content type='text'>
Writing singleton with a small 's' leads to a compile error.

Fixes: QTBUG-125127
Change-Id: I7edc4512aceea34bcf2a0884c6b6e48ab3069f19
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit f4fc10172e78a66de15ed67fe65ac5e03c64950c)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Writing singleton with a small 's' leads to a compile error.

Fixes: QTBUG-125127
Change-Id: I7edc4512aceea34bcf2a0884c6b6e48ab3069f19
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit f4fc10172e78a66de15ed67fe65ac5e03c64950c)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>quick_test_main_with_setup: only activate windows where supported</title>
<updated>2024-05-29T19:24:59+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2024-05-13T04:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ccca643822478638e94eaef8c49fbe249f38f763'/>
<id>ccca643822478638e94eaef8c49fbe249f38f763</id>
<content type='text'>
Otherwise we get warnings before initTestCase, meaning not even
failOnWarning can catch them:

"qWaitForWindowActive was called on a platform that doesn't support
window activation. This means there is an error in the test and it
should either check for the WindowActivation platform capability before
calling qWaitForWindowActivate, use qWaitForWindowExposed instead, or
skip the test. Falling back to qWaitForWindowExposed."

Task-number: QTBUG-124230
Pick-to: 6.5
Change-Id: I8111928917b94d51ac9b94f470f5837a98f44a71
Reviewed-by: Doris Verria &lt;doris.verria@qt.io&gt;
(cherry picked from commit 0a458847e9d8dffadfbb8de349e2d26e4ce34bdb)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we get warnings before initTestCase, meaning not even
failOnWarning can catch them:

"qWaitForWindowActive was called on a platform that doesn't support
window activation. This means there is an error in the test and it
should either check for the WindowActivation platform capability before
calling qWaitForWindowActivate, use qWaitForWindowExposed instead, or
skip the test. Falling back to qWaitForWindowExposed."

Task-number: QTBUG-124230
Pick-to: 6.5
Change-Id: I8111928917b94d51ac9b94f470f5837a98f44a71
Reviewed-by: Doris Verria &lt;doris.verria@qt.io&gt;
(cherry picked from commit 0a458847e9d8dffadfbb8de349e2d26e4ce34bdb)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>graph example: Do not use GLSL functions as uniform names</title>
<updated>2024-05-29T15:03:20+00:00</updated>
<author>
<name>Laszlo Agocs</name>
<email>laszlo.agocs@qt.io</email>
</author>
<published>2024-05-24T09:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=19461382758c177376ccde23dcce8ba5b2b8bfe5'/>
<id>19461382758c177376ccde23dcce8ba5b2b8bfe5</id>
<content type='text'>
Using textureSize in the uniform block leads to renaming it
to _textureSize when transpiling to GLSL. This is not
reflected in the reflection metadata for some reason.
For OpenGL this matters because the QRhi backend won't
be correctly able to set up the uniforms when the
names do not match. To overcome this, use a name
in the shader that does not conflict with a built-in
GLSL function. Strictly speaking the name (textureSize)
is somewhat incorrect anyway. Use texCoordScale to
express its meaning better.

Pick-to: 6.6 6.5 6.2
Change-Id: I863e98c6d56cc46fad895763b9b5106a40e2952c
Reviewed-by: Andy Nichols &lt;andy.nichols@qt.io&gt;
(cherry picked from commit 3d8c86976844bc9507b0ff677188eee64e49b732)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using textureSize in the uniform block leads to renaming it
to _textureSize when transpiling to GLSL. This is not
reflected in the reflection metadata for some reason.
For OpenGL this matters because the QRhi backend won't
be correctly able to set up the uniforms when the
names do not match. To overcome this, use a name
in the shader that does not conflict with a built-in
GLSL function. Strictly speaking the name (textureSize)
is somewhat incorrect anyway. Use texCoordScale to
express its meaning better.

Pick-to: 6.6 6.5 6.2
Change-Id: I863e98c6d56cc46fad895763b9b5106a40e2952c
Reviewed-by: Andy Nichols &lt;andy.nichols@qt.io&gt;
(cherry picked from commit 3d8c86976844bc9507b0ff677188eee64e49b732)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
