<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch v6.8.0</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.8.0' in qt/qtdeclarative</title>
<updated>2024-10-02T11:32:45+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2024-10-02T08:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2884c601242f030307a5acdca984b3aa0d34e064'/>
<id>2884c601242f030307a5acdca984b3aa0d34e064</id>
<content type='text'>
Change-Id: Iff17e5d049096634ec586aded14d98a097e34f03
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: Iff17e5d049096634ec586aded14d98a097e34f03
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ListView: fix countChanged not being emitted in certain cases</title>
<updated>2024-10-02T08:25:57+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2024-09-24T06:44:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=0a1d8fb26d1e89c82a0d35dd728d7e928a94d197'/>
<id>0a1d8fb26d1e89c82a0d35dd728d7e928a94d197</id>
<content type='text'>
This broke after 477c15def834bd49553c00b90f3a2006456ea931.
countChanged would have normally been emitted in the call to
applyModelChanges that we skipped after adding the q-&gt;size().isNull()
check.

We can check hasPendingChanges() to know if a count change
is pending (which is also the first thing applyModelChanges checks
before doing its work), and if so, emit countChanged so that
any bindings that are relying on it can function as expected.

Fixes: QTBUG-129165
Pick-to: 6.5 6.7 6.8 dev
Change-Id: Ic045f1870b39d192f6880e23daab03fd73a16d58
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke after 477c15def834bd49553c00b90f3a2006456ea931.
countChanged would have normally been emitted in the call to
applyModelChanges that we skipped after adding the q-&gt;size().isNull()
check.

We can check hasPendingChanges() to know if a count change
is pending (which is also the first thing applyModelChanges checks
before doing its work), and if so, emit countChanged so that
any bindings that are relying on it can function as expected.

Fixes: QTBUG-129165
Pick-to: 6.5 6.7 6.8 dev
Change-Id: Ic045f1870b39d192f6880e23daab03fd73a16d58
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Docs: Add links to Android classes and examples</title>
<updated>2024-10-02T04:30:33+00:00</updated>
<author>
<name>Nicholas Bennett</name>
<email>nicholas.bennett@qt.io</email>
</author>
<published>2024-09-30T09:57:54+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1b1ff89e43aeda3324051df01b0a97769c9b9fbf'/>
<id>1b1ff89e43aeda3324051df01b0a97769c9b9fbf</id>
<content type='text'>
Added links to the Qt Quick Android Classes page for examples.
Added links to the Android Java classes provided by Qt Core.
Renamed QML in Android Studio Projects example as Qt Quick
for Android-related.
Rename filename using qml in Android.

Change-Id: I79f79971ea7d224545c939a906bb449bd2b886c5
Reviewed-by: Assam Boudjelthia &lt;assam.boudjelthia@qt.io&gt;
(cherry picked from commit d37583094a73ca85151f07c4570db916424d7a94)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ce24530b8c8144bbd9d6de5f700e8efed5851a83)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added links to the Qt Quick Android Classes page for examples.
Added links to the Android Java classes provided by Qt Core.
Renamed QML in Android Studio Projects example as Qt Quick
for Android-related.
Rename filename using qml in Android.

Change-Id: I79f79971ea7d224545c939a906bb449bd2b886c5
Reviewed-by: Assam Boudjelthia &lt;assam.boudjelthia@qt.io&gt;
(cherry picked from commit d37583094a73ca85151f07c4570db916424d7a94)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ce24530b8c8144bbd9d6de5f700e8efed5851a83)
</pre>
</div>
</content>
</entry>
<entry>
<title>Docs: Fix Android links and add missing ones</title>
<updated>2024-10-02T04:30:23+00:00</updated>
<author>
<name>Nicholas Bennett</name>
<email>nicholas.bennett@qt.io</email>
</author>
<published>2024-09-30T08:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=404cc6f19c266a29d9d52a670312840630f475ee'/>
<id>404cc6f19c266a29d9d52a670312840630f475ee</id>
<content type='text'>
I fixed broken links in the Kotlin example, added missing ones there,
and added them to the top-level Qt Android Classes page.

Change-Id: I70b6a4e9aa02c83c69f20139f4f3a57369cbd954
Reviewed-by: Paul Wicking &lt;paul.wicking@qt.io&gt;
(cherry picked from commit c524db37c206fa4a999181f6a37f66d82ea98416)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 5f17be527f9030bf5b75535714d543bcdec1496e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I fixed broken links in the Kotlin example, added missing ones there,
and added them to the top-level Qt Android Classes page.

Change-Id: I70b6a4e9aa02c83c69f20139f4f3a57369cbd954
Reviewed-by: Paul Wicking &lt;paul.wicking@qt.io&gt;
(cherry picked from commit c524db37c206fa4a999181f6a37f66d82ea98416)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 5f17be527f9030bf5b75535714d543bcdec1496e)
</pre>
</div>
</content>
</entry>
<entry>
<title>QmlCompiler: Allow string lookup of composite metatypes again</title>
<updated>2024-10-01T12:20:35+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-10-01T11:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b8c3cf7192fe5793fdaf56a1203cb2cf76d8c3a2'/>
<id>b8c3cf7192fe5793fdaf56a1203cb2cf76d8c3a2</id>
<content type='text'>
We're not guaranteed to get string IDs for those.

Pick-to: dev 6.8
Change-Id: I5800a1e90589f3a6ae55ce8624fa56968f0f3ec3
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We're not guaranteed to get string IDs for those.

Pick-to: dev 6.8
Change-Id: I5800a1e90589f3a6ae55ce8624fa56968f0f3ec3
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QmlCompiler: Fix handling of anonymous composite types</title>
<updated>2024-10-01T12:20:34+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-08-23T12:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=14ff6822a061f9a11219e581c9c4ea80d1cd4c14'/>
<id>14ff6822a061f9a11219e581c9c4ea80d1cd4c14</id>
<content type='text'>
So far we produced invalid QMetaTypes for them in various places and
that "worked" for the most part because with QObject pointers we can
introspect the actual type at run time.

Realize that we never actually want the concrete anoymous type of the
object when we pass it around. Rather, all methods and properties need
to handle named types. What we really want to resolve is therefore not
the type of the original value we've produced in the type propagator,
but rather the replacement we've produced when analyzing the lookup.

Pick-to: dev 6.8
Task-number: QTBUG-129202
Change-Id: I0b93495d6603f120375048c80a747170f147f8af
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So far we produced invalid QMetaTypes for them in various places and
that "worked" for the most part because with QObject pointers we can
introspect the actual type at run time.

Realize that we never actually want the concrete anoymous type of the
object when we pass it around. Rather, all methods and properties need
to handle named types. What we really want to resolve is therefore not
the type of the original value we've produced in the type propagator,
but rather the replacement we've produced when analyzing the lookup.

Pick-to: dev 6.8
Task-number: QTBUG-129202
Change-Id: I0b93495d6603f120375048c80a747170f147f8af
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>InternalClass: Use scope for local internal classes</title>
<updated>2024-10-01T04:36:11+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2024-09-30T14:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=eca744c9f0ab5c12d291d452fe17015fa3dc9188'/>
<id>eca744c9f0ab5c12d291d452fe17015fa3dc9188</id>
<content type='text'>
In most cases, the usage of scope is only to guard against future
changes which could introduce allocations.
However, in a few places we end calling functions that can allocate:
Both addDummyEntry and cleanInternalClass can allocate memory, and there
is nothing protecting the newly allocated internal class.

Change-Id: I727a91380c49fb95cbd6f5cba39bdd5f9a9b0e5e
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 39c5a4110f5465759531df0278753b3a67c2a32b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 4af0b1f637150228548a367470e8ab34a2b6cf70)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In most cases, the usage of scope is only to guard against future
changes which could introduce allocations.
However, in a few places we end calling functions that can allocate:
Both addDummyEntry and cleanInternalClass can allocate memory, and there
is nothing protecting the newly allocated internal class.

Change-Id: I727a91380c49fb95cbd6f5cba39bdd5f9a9b0e5e
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 39c5a4110f5465759531df0278753b3a67c2a32b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 4af0b1f637150228548a367470e8ab34a2b6cf70)
</pre>
</div>
</content>
</entry>
<entry>
<title>QmlCompiler: Do not cache composite metatypes in static members</title>
<updated>2024-10-01T04:36:07+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-09-27T16:19:34+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1faa471507238f0e6dc35f170ddf9766f36037d5'/>
<id>1faa471507238f0e6dc35f170ddf9766f36037d5</id>
<content type='text'>
The metatypes from any old engines may have been deleted.

Retrieve the types from the ResolveTypeReferenceMap instead. That is
much cheaper than doing a full type search and the CU should know the
types it's dealing with.

Sometimes, however, the CU does not pre-resolve the types. In
particular, types only used in function signatures do not end up in the
ResolvedTypeReferenceMap. In those cases, still do the full type search.

Amends commit 8bf5aae19b77b618f3f7a55a59e87c8a319475a8.

Task-number: QTBUG-129388
Change-Id: I27f25e1c68de3c752d00345c6d94016fb315e16c
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 76ce5e4799f07e7cf4b9ffccf7cdfb5bc07de3c4)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit f8cdbfc3a1d1c41cfa511d9fa0a2db901db80674)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The metatypes from any old engines may have been deleted.

Retrieve the types from the ResolveTypeReferenceMap instead. That is
much cheaper than doing a full type search and the CU should know the
types it's dealing with.

Sometimes, however, the CU does not pre-resolve the types. In
particular, types only used in function signatures do not end up in the
ResolvedTypeReferenceMap. In those cases, still do the full type search.

Amends commit 8bf5aae19b77b618f3f7a55a59e87c8a319475a8.

Task-number: QTBUG-129388
Change-Id: I27f25e1c68de3c752d00345c6d94016fb315e16c
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 76ce5e4799f07e7cf4b9ffccf7cdfb5bc07de3c4)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit f8cdbfc3a1d1c41cfa511d9fa0a2db901db80674)
</pre>
</div>
</content>
</entry>
<entry>
<title>gc: Allow to modify incremental gc timelimit via env variable</title>
<updated>2024-10-01T04:36:04+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2024-09-30T07:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=af016f51c3110b4e68104b39ead8f880fbe938d5'/>
<id>af016f51c3110b4e68104b39ead8f880fbe938d5</id>
<content type='text'>
This includes making it non-incremental by setting the timelimit to 0,
which might be a workaround for some issues with the incremental garbage
collector.

Task-number: QTBUG-129241
Change-Id: I665052345688cd17f05d52a46adc9a09bebefef2
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit fd9566093a0b6e1e6f3bc0ed81de0f90a2a68cf7)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit d886d8621df122b609413cd629de7bbae18c1f77)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes making it non-incremental by setting the timelimit to 0,
which might be a workaround for some issues with the incremental garbage
collector.

Task-number: QTBUG-129241
Change-Id: I665052345688cd17f05d52a46adc9a09bebefef2
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit fd9566093a0b6e1e6f3bc0ed81de0f90a2a68cf7)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit d886d8621df122b609413cd629de7bbae18c1f77)
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickDialog: reject on hideEvent, when popupType: Popup.Window</title>
<updated>2024-09-30T12:54:10+00:00</updated>
<author>
<name>Oliver Eftevaag</name>
<email>oliver.eftevaag@qt.io</email>
</author>
<published>2024-09-24T12:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=04bc6b72ace5afce8e2aa168b9ef56453b5e7765'/>
<id>04bc6b72ace5afce8e2aa168b9ef56453b5e7765</id>
<content type='text'>
Dialogs should be either rejected or accepted, when they close.
When they close as a result of a hideEvent (usually when the user
presses the X button in the window decoration), it's expected that the
dialog emits the rejected signal.

QtQuickDialogs expects either accepted or rejected to be emitted when
the dialog closes. Because neither signal were emitted, QtQuickDialogs
would enter a state, where it falsly believe that the dialog is still
opened, when it was closed due to the hideEvent.

Fixes: QTBUG-129323
Change-Id: I03e0406c6c4ce0237ddfa625bb476b11013b7666
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit b09deeee514f2aae7251a55169c6c6af4777b0e9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ff56ef92b3b5ea0c326e8ce1df230a6436c05082)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dialogs should be either rejected or accepted, when they close.
When they close as a result of a hideEvent (usually when the user
presses the X button in the window decoration), it's expected that the
dialog emits the rejected signal.

QtQuickDialogs expects either accepted or rejected to be emitted when
the dialog closes. Because neither signal were emitted, QtQuickDialogs
would enter a state, where it falsly believe that the dialog is still
opened, when it was closed due to the hideEvent.

Fixes: QTBUG-129323
Change-Id: I03e0406c6c4ce0237ddfa625bb476b11013b7666
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit b09deeee514f2aae7251a55169c6c6af4777b0e9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ff56ef92b3b5ea0c326e8ce1df230a6436c05082)
</pre>
</div>
</content>
</entry>
</feed>
