<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src/quickwidgets, branch dev</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>QQuickWidget: Fix incorrect behavior after starting out fully offscreen</title>
<updated>2026-04-28T16:23:20+00:00</updated>
<author>
<name>Laszlo Agocs</name>
<email>laszlo.agocs@qt.io</email>
</author>
<published>2026-03-31T09:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=bf78d7bdf4702b8a3abc5e020d75b087d8f47631'/>
<id>bf78d7bdf4702b8a3abc5e020d75b087d8f47631</id>
<content type='text'>
The test application, mimicking Design Studio tools, has two
QQuickWidgets with content loaded before show(). This triggers a very
wrong usage of QRhi resources within QQuickWidget and the QRhi-based
compositor in the backingstore, because one of the two QQuickWidgets
seems to stick to the offscreen infrastructure it created (the dedicated
QRhi created by the QQuickWidget itself when it is not shown, basically
just to support grabbing).

Then the backing texture of this QQuickWidget is used by the
backingstore compositor with a different QRhi, the one for the window,
which the QQW should also have used by that point. That cannot work.

Remedy this by invalidating properly when starting to use the QRhi
reported from QWidgetPrivate::rhi() and the offscreen infra is already
initialized. No different from what happens when the widget is moved to
a new top-level and then has to deal with a new QRhi from then on.

In fact, the now-added logic matches exactly what QRhiWidget does in
QRhiWidgetPrivate::ensureRhi(). It is not clear why this was never there
in QQuickWidget.

Pick-to: 6.11 6.8
Fixes: QTBUG-145383
Task-number: QTBUG-142207
Change-Id: I865af6459f3dce756858a5d5bf3c12e292286d9c
Reviewed-by: Friedemann Kleint &lt;Friedemann.Kleint@qt.io&gt;
Reviewed-by: Andy Nichols &lt;andy.nichols@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test application, mimicking Design Studio tools, has two
QQuickWidgets with content loaded before show(). This triggers a very
wrong usage of QRhi resources within QQuickWidget and the QRhi-based
compositor in the backingstore, because one of the two QQuickWidgets
seems to stick to the offscreen infrastructure it created (the dedicated
QRhi created by the QQuickWidget itself when it is not shown, basically
just to support grabbing).

Then the backing texture of this QQuickWidget is used by the
backingstore compositor with a different QRhi, the one for the window,
which the QQW should also have used by that point. That cannot work.

Remedy this by invalidating properly when starting to use the QRhi
reported from QWidgetPrivate::rhi() and the offscreen infra is already
initialized. No different from what happens when the widget is moved to
a new top-level and then has to deal with a new QRhi from then on.

In fact, the now-added logic matches exactly what QRhiWidget does in
QRhiWidgetPrivate::ensureRhi(). It is not clear why this was never there
in QQuickWidget.

Pick-to: 6.11 6.8
Fixes: QTBUG-145383
Task-number: QTBUG-142207
Change-Id: I865af6459f3dce756858a5d5bf3c12e292286d9c
Reviewed-by: Friedemann Kleint &lt;Friedemann.Kleint@qt.io&gt;
Reviewed-by: Andy Nichols &lt;andy.nichols@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove per-library QT_NO_FOREACH</title>
<updated>2026-03-25T08:35:24+00:00</updated>
<author>
<name>Marc Mutz</name>
<email>marc.mutz@qt.io</email>
</author>
<published>2026-03-24T14:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=bb6f2e742ee4d40e8ea8f58b7c9fc5e77400b4f9'/>
<id>bb6f2e742ee4d40e8ea8f58b7c9fc5e77400b4f9</id>
<content type='text'>
Since 8edbcdbeb49630c207f3111d24b9c9e07029e333, the whole module is
marked as QT_NO_FOREACH, with only individual TUs #undef'ing the macro
until they, too, are ported.

Amends said commit (6.7).

Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-115808
Change-Id: Ifc72ced05b6e6d929e3eb0ac5211688839d88e0c
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 8edbcdbeb49630c207f3111d24b9c9e07029e333, the whole module is
marked as QT_NO_FOREACH, with only individual TUs #undef'ing the macro
until they, too, are ported.

Amends said commit (6.7).

Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-115808
Change-Id: Ifc72ced05b6e6d929e3eb0ac5211688839d88e0c
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQuick: Don't double-delete misfitting objects in QQuickWidget</title>
<updated>2026-03-10T18:33:14+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2026-03-10T12:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=97aa519146742277776ea3b90c45f32207eb739c'/>
<id>97aa519146742277776ea3b90c45f32207eb739c</id>
<content type='text'>
Amends commit 9792bbcf9d6f729591fe5dcda5f32191faa83251.

Pick-to: 6.11
Fixes: QTBUG-144908
Change-Id: Ibc90e24c7cbe8ba11264165440ea66296810a048
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Amends commit 9792bbcf9d6f729591fe5dcda5f32191faa83251.

Pick-to: 6.11
Fixes: QTBUG-144908
Change-Id: Ibc90e24c7cbe8ba11264165440ea66296810a048
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickWidget: Remove note about tab-key limitation</title>
<updated>2026-02-16T13:29:41+00:00</updated>
<author>
<name>Tor Arne Vestbø</name>
<email>tor.arne.vestbo@qt.io</email>
</author>
<published>2026-02-09T14:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=82b76d0cbd6b8027154dfba1b9315bdc88e79f87'/>
<id>82b76d0cbd6b8027154dfba1b9315bdc88e79f87</id>
<content type='text'>
This should work correctly nowadays.

Change-Id: Icc33192624449d2cc3deb120249b96e7adef9004
Reviewed-by: Doris Verria &lt;doris.verria@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should work correctly nowadays.

Change-Id: Icc33192624449d2cc3deb120249b96e7adef9004
Reviewed-by: Doris Verria &lt;doris.verria@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickWidget: Preserve clear color on window change</title>
<updated>2026-02-06T11:58:53+00:00</updated>
<author>
<name>Miikka Heikkinen</name>
<email>miikka.heikkinen@qt.io</email>
</author>
<published>2026-02-05T11:28:29+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=6a342c25ae8edc8147aef72e05d5eeffb913f205'/>
<id>6a342c25ae8edc8147aef72e05d5eeffb913f205</id>
<content type='text'>
Fixes: QTBUG-143857
Pick-to: 6.11 6.10
Change-Id: I4e9cf572447310cc5c6f38abe83d306293319c77
Reviewed-by: Laszlo Agocs &lt;laszlo.agocs@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: QTBUG-143857
Pick-to: 6.11 6.10
Change-Id: I4e9cf572447310cc5c6f38abe83d306293319c77
Reviewed-by: Laszlo Agocs &lt;laszlo.agocs@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add all .qdoc files to their respective projects</title>
<updated>2026-01-22T14:12:27+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2026-01-19T12:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d1a1d3a2542f897c3fbd4c6c985281c5e81775d8'/>
<id>d1a1d3a2542f897c3fbd4c6c985281c5e81775d8</id>
<content type='text'>
We want to make them available to IDEs so that we don't have to search
the file system.

Exclude quickcontrols and quicktemplates for now. In these projects the
qdoc files are managed separately.

Change-Id: I4505216a891addbe0e07ae809126e69ab65b62ca
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to make them available to IDEs so that we don't have to search
the file system.

Exclude quickcontrols and quicktemplates for now. In these projects the
qdoc files are managed separately.

Change-Id: I4505216a891addbe0e07ae809126e69ab65b62ca
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Use explicit links instead of auto-linking</title>
<updated>2025-11-07T09:39:41+00:00</updated>
<author>
<name>David Boddie</name>
<email>david.boddie@qt.io</email>
</author>
<published>2025-10-22T13:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fa08152bc48be296990d45d08ff3d8cf5521c5d8'/>
<id>fa08152bc48be296990d45d08ff3d8cf5521c5d8</id>
<content type='text'>
This ensures that QDoc will always link to the QML types page and not
to the corresponding C++ classes overview.

Change-Id: I60cd6475ecf87190101507e8508e5c9403a2ed90
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that QDoc will always link to the QML types page and not
to the corresponding C++ classes overview.

Change-Id: I60cd6475ecf87190101507e8508e5c9403a2ed90
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: add links to the QQuickWidget examples to the submodule page</title>
<updated>2025-10-01T13:17:40+00:00</updated>
<author>
<name>Alexei Cazacov</name>
<email>alexei.cazacov@qt.io</email>
</author>
<published>2025-07-30T09:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=6fb81c0e51a496878e606d3888e8f9525d18b92b'/>
<id>6fb81c0e51a496878e606d3888e8f9525d18b92b</id>
<content type='text'>
This commit adds links to the QQuickWidget examples to the
Qt Quick Widgets page.

Task-number: QTBUG-134102
Pick-to: 6.10 6.9 6.8
Change-Id: If63d106de76a3150025d8a5bfb91007a15b1d02f
Reviewed-by: Andreas Eliasson &lt;andreas.eliasson@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds links to the QQuickWidget examples to the
Qt Quick Widgets page.

Task-number: QTBUG-134102
Pick-to: 6.10 6.9 6.8
Change-Id: If63d106de76a3150025d8a5bfb91007a15b1d02f
Reviewed-by: Andreas Eliasson &lt;andreas.eliasson@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y: support attributes for QQuickWidget</title>
<updated>2025-06-16T03:56:58+00:00</updated>
<author>
<name>Volker Hilsheimer</name>
<email>volker.hilsheimer@qt.io</email>
</author>
<published>2025-05-28T14:45:54+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2af8e81321ab1059828b70e835ddec9c11a74088'/>
<id>2af8e81321ab1059828b70e835ddec9c11a74088</id>
<content type='text'>
Follow up on the addition of QAccessibleWidgetV2 in qtbase, which also
implements the QAccessibleAttributesInterface to report the widget's
locale.

Pick-to: 6.10
Change-Id: I9704e25342b4ca73c9b6aa6a97194870b4e6212b
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: MohammadHossein Qanbari &lt;mohammad.qanbari@qt.io&gt;
Reviewed-by: Michael Weghorn &lt;m.weghorn@posteo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up on the addition of QAccessibleWidgetV2 in qtbase, which also
implements the QAccessibleAttributesInterface to report the widget's
locale.

Pick-to: 6.10
Change-Id: I9704e25342b4ca73c9b6aa6a97194870b4e6212b
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: MohammadHossein Qanbari &lt;mohammad.qanbari@qt.io&gt;
Reviewed-by: Michael Weghorn &lt;m.weghorn@posteo.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix QQuickWidget memory corruption in setSource</title>
<updated>2025-04-02T12:40:40+00:00</updated>
<author>
<name>Masoud Jami</name>
<email>masoud.jami@qt.io</email>
</author>
<published>2025-03-11T13:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5946964b9b96668f3f3315699b131779921f5a41'/>
<id>5946964b9b96668f3f3315699b131779921f5a41</id>
<content type='text'>
If the root object of the Qml document is unknown to QQuickWidget,
it produces a segmentation fault, since obj is deleted once in
the setRootObject method, and once when its unique_ptr goes out of
scope.

Fixes: QTBUG-133832
Change-Id: I828616b390348762b144f81ed43e1883ecf38584
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the root object of the Qml document is unknown to QQuickWidget,
it produces a segmentation fault, since obj is deleted once in
the setRootObject method, and once when its unique_ptr goes out of
scope.

Fixes: QTBUG-133832
Change-Id: I828616b390348762b144f81ed43e1883ecf38584
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
