<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/examples, branch 6.10.1</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Remove qml-i18n example in qtdeclarative repo</title>
<updated>2025-11-03T16:11:52+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2025-10-27T14:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=29d8fedeec267f1b5b36154d3a1b6041431e0007'/>
<id>29d8fedeec267f1b5b36154d3a1b6041431e0007</id>
<content type='text'>
The qml-i18n example and the qtdeclarative repo itself depend
on the LinguistTools CMake package, which is not available while
building qtdeclarative.

This results in:
- missing build coverage for the example
- a cyclic dependency, because qtdeclarative depends on qttools
  (because of LinguistTools), and qttools depends on qtdeclarative
  (because of qdoc needs)
- we try to find a module that will never be available, unless
  qtdeclarative is built together with qttools in a top-level build
- in certain cases, if the top-level build fails early enough, the
  cyclic dependency causes reconfigurations to fail

Remove the example, the lookup of LinguistTools, and the linguist doc
references to avoid all these issues.

Replace the qt_add_translations reference in the docs of the
QQmlApplicationEngine class with a snippet copy.

Pick-to: 6.8
Task-number: QTBUG-141465
Change-Id: Id88603a3753f53dfac9f350e981073effda15eb1
Reviewed-by: Masoud Jami &lt;masoud.jami@qt.io&gt;
(cherry picked from commit 5a1610444562ed90280ff666c4474e569d87ded8)
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The qml-i18n example and the qtdeclarative repo itself depend
on the LinguistTools CMake package, which is not available while
building qtdeclarative.

This results in:
- missing build coverage for the example
- a cyclic dependency, because qtdeclarative depends on qttools
  (because of LinguistTools), and qttools depends on qtdeclarative
  (because of qdoc needs)
- we try to find a module that will never be available, unless
  qtdeclarative is built together with qttools in a top-level build
- in certain cases, if the top-level build fails early enough, the
  cyclic dependency causes reconfigurations to fail

Remove the example, the lookup of LinguistTools, and the linguist doc
references to avoid all these issues.

Replace the qt_add_translations reference in the docs of the
QQmlApplicationEngine class with a snippet copy.

Pick-to: 6.8
Task-number: QTBUG-141465
Change-Id: Id88603a3753f53dfac9f350e981073effda15eb1
Reviewed-by: Masoud Jami &lt;masoud.jami@qt.io&gt;
(cherry picked from commit 5a1610444562ed90280ff666c4474e569d87ded8)
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Revise File System Explorer example</title>
<updated>2025-10-29T16:09:27+00:00</updated>
<author>
<name>Andreas Eliasson</name>
<email>andreas.eliasson@qt.io</email>
</author>
<published>2025-09-15T11:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e142598ecd754bcc2bdb90fff1ef1b9ab99164e3'/>
<id>e142598ecd754bcc2bdb90fff1ef1b9ab99164e3</id>
<content type='text'>
* Re-arrange and add section headers to adhere to the app template.
* Replace first-person plural (we) with either third-person singular
  (the example) or second-person singular (you).
* Add qdoc links to C++ or QML entities.

Fixes: QTBUG-137898
Pick-to: 6.9 6.8
Change-Id: Ib61ca9beac1bafb4e4e5f8fcc6475093b313768e
Reviewed-by: Jerome Pasion &lt;jerome.pasion@qt.io&gt;
(cherry picked from commit 8a65f87fc1e491216de5bac047d218a074340ef9)
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>
* Re-arrange and add section headers to adhere to the app template.
* Replace first-person plural (we) with either third-person singular
  (the example) or second-person singular (you).
* Add qdoc links to C++ or QML entities.

Fixes: QTBUG-137898
Pick-to: 6.9 6.8
Change-Id: Ib61ca9beac1bafb4e4e5f8fcc6475093b313768e
Reviewed-by: Jerome Pasion &lt;jerome.pasion@qt.io&gt;
(cherry picked from commit 8a65f87fc1e491216de5bac047d218a074340ef9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Examples: Stop using version numbers with QML modules</title>
<updated>2025-10-28T15:17:35+00:00</updated>
<author>
<name>Sze Howe Koh</name>
<email>szehowe.koh@gmail.com</email>
</author>
<published>2025-09-19T08:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d97e7ebdbce7083b71a68ef6f8f3b7c1a29dcef1'/>
<id>d97e7ebdbce7083b71a68ef6f8f3b7c1a29dcef1</id>
<content type='text'>
Continues 2d44365f69b9bc946d085c6b149e2ac319700265 and
b7f448f8647a9a118cee2d79d446194b20d4b335

* Qt 6.0 enabled and encouraged users to import QML modules without
  specifying a version number
* Qt 6.5 enabled and encouraged users to create QML modules without
  specifying a version number

With this approach, there is little benefit in specifying
QT_QML_SOURCE_VERSIONS, especially in an example module that is not
consumed by external software. It does not need to worry about
compatibility/versioning.

Task-number: QTBUG-89033
Task-number: QTBUG-140406
Change-Id: I7f83dc7430180b79b70c75e7ce7b3aef46a028ae
Pick-to: 6.8
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit bd4e0441688758d7e73aef43bd8633d68370f7f7)
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>
Continues 2d44365f69b9bc946d085c6b149e2ac319700265 and
b7f448f8647a9a118cee2d79d446194b20d4b335

* Qt 6.0 enabled and encouraged users to import QML modules without
  specifying a version number
* Qt 6.5 enabled and encouraged users to create QML modules without
  specifying a version number

With this approach, there is little benefit in specifying
QT_QML_SOURCE_VERSIONS, especially in an example module that is not
consumed by external software. It does not need to worry about
compatibility/versioning.

Task-number: QTBUG-89033
Task-number: QTBUG-140406
Change-Id: I7f83dc7430180b79b70c75e7ce7b3aef46a028ae
Pick-to: 6.8
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit bd4e0441688758d7e73aef43bd8633d68370f7f7)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: update Qt Quick for Android examples to SDK 36</title>
<updated>2025-10-23T11:12:07+00:00</updated>
<author>
<name>Rami Potinkara</name>
<email>rami.potinkara@qt.io</email>
</author>
<published>2025-09-03T07:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1afe7e4fcc6c699d161f6e077b70d57844ab0602'/>
<id>1afe7e4fcc6c699d161f6e077b70d57844ab0602</id>
<content type='text'>
This patch updates qtdeclarative examples to use
SDK 36 as a target and compile version SDK.

Task-number: QTBUG-138552
Task-number: QTBUG-138549
Change-Id: If655c6654790b4be3704325aceca6df4947362d4
Reviewed-by: Nicholas Bennett &lt;nicholas.bennett@qt.io&gt;
Reviewed-by: Rami Potinkara &lt;rami.potinkara@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updates qtdeclarative examples to use
SDK 36 as a target and compile version SDK.

Task-number: QTBUG-138552
Task-number: QTBUG-138549
Change-Id: If655c6654790b4be3704325aceca6df4947362d4
Reviewed-by: Nicholas Bennett &lt;nicholas.bennett@qt.io&gt;
Reviewed-by: Rami Potinkara &lt;rami.potinkara@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Adapt to reuse version 6</title>
<updated>2025-10-23T08:01:31+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2025-10-13T13:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e5e7d7cdb1e2032ff564c679f7d02b6c42bafbf4'/>
<id>e5e7d7cdb1e2032ff564c679f7d02b6c42bafbf4</id>
<content type='text'>
Task-number: QTBUG-140916
Pick-to: 6.8
Change-Id: I7c3e50c277f28a9af9347fcf61e205187334be2f
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
(cherry picked from commit 2cc0302d412bde1353155d1972bcca6a0aa1ef7d)
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>
Task-number: QTBUG-140916
Pick-to: 6.8
Change-Id: I7c3e50c277f28a9af9347fcf61e205187334be2f
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
(cherry picked from commit 2cc0302d412bde1353155d1972bcca6a0aa1ef7d)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that the right grid at least have one column</title>
<updated>2025-10-22T15:50:16+00:00</updated>
<author>
<name>Jan Arve Sæther</name>
<email>jan-arve.saether@qt.io</email>
</author>
<published>2025-10-14T15:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d3143bd5a97837581b1490a034f837be1485d75e'/>
<id>d3143bd5a97837581b1490a034f837be1485d75e</id>
<content type='text'>
If the initial window width was so large that the inital layout was
determined to be the "largeLayout" (wider than 450 pixels), then the
binding

    columns: Math.min(Math.round(width / 130), 6)

initially resulted in 0 columns because the width was initially
evaluated to be 0, which caused the grids implicitWidth to be 0 (because
it couldn't fit any items when columns was 0). Hence, it was
"deadlocked": it didn't add items because columns was 0, and it
didn't increase columns because it's width was 0.

An item in a layout with implicitWidth == 0 will always have lower
priority to grow than items with a larger implicitWidth - hence the grid
was stuck at width == 0

Pick-to: 6.8
Fixes: QTBUG-140533
Change-Id: I558463ac33db36fa7eb8df4c70adc94f90c69e8f
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
(cherry picked from commit cecd690d60dcdadca21e06f0a9edc80acc8fe9ea)
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>
If the initial window width was so large that the inital layout was
determined to be the "largeLayout" (wider than 450 pixels), then the
binding

    columns: Math.min(Math.round(width / 130), 6)

initially resulted in 0 columns because the width was initially
evaluated to be 0, which caused the grids implicitWidth to be 0 (because
it couldn't fit any items when columns was 0). Hence, it was
"deadlocked": it didn't add items because columns was 0, and it
didn't increase columns because it's width was 0.

An item in a layout with implicitWidth == 0 will always have lower
priority to grow than items with a larger implicitWidth - hence the grid
was stuck at width == 0

Pick-to: 6.8
Fixes: QTBUG-140533
Change-Id: I558463ac33db36fa7eb8df4c70adc94f90c69e8f
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
(cherry picked from commit cecd690d60dcdadca21e06f0a9edc80acc8fe9ea)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Flat Style example: Split CMake project into multiple QML modules</title>
<updated>2025-10-17T01:33:47+00:00</updated>
<author>
<name>Sze Howe Koh</name>
<email>szehowe.koh@gmail.com</email>
</author>
<published>2025-08-26T14:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=dbbd4d1a294ed8d2f1ce43972035af432fba51d8'/>
<id>dbbd4d1a294ed8d2f1ce43972035af432fba51d8</id>
<content type='text'>
Let the CMake structure reflect the existing module structure while
making use of the auto-generated qmldir files. The qmake project and
Qt Design Studio project are unaffected as they continue using the
manually-written qmldir files.

Drive-by edits:
* Renamed the (unused) URI of top-level module to disambiguate it from
  the module that contains the actual styling code:
  "flatstyle" -&gt; "FlatStyleApp"
* Updated the docs to talk about QML modules instead of plugins

Task-number: QTBUG-132922
Change-Id: I163a6c6a86a4eaf210a18433e6e5ea1f1fc67dd2
Pick-to: 6.8
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit ad65c8d89fd67cc11f04d8d3019149e98466c9fc)
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>
Let the CMake structure reflect the existing module structure while
making use of the auto-generated qmldir files. The qmake project and
Qt Design Studio project are unaffected as they continue using the
manually-written qmldir files.

Drive-by edits:
* Renamed the (unused) URI of top-level module to disambiguate it from
  the module that contains the actual styling code:
  "flatstyle" -&gt; "FlatStyleApp"
* Updated the docs to talk about QML modules instead of plugins

Task-number: QTBUG-132922
Change-Id: I163a6c6a86a4eaf210a18433e6e5ea1f1fc67dd2
Pick-to: 6.8
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit ad65c8d89fd67cc11f04d8d3019149e98466c9fc)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid showing content beneath status bars in wearable example</title>
<updated>2025-10-01T10:07:05+00:00</updated>
<author>
<name>Assam Boudjelthia</name>
<email>assam.boudjelthia@qt.io</email>
</author>
<published>2025-09-04T01:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=772cc31b1c849daba0648b685b6b6f6d8761e51f'/>
<id>772cc31b1c849daba0648b685b6b6f6d8761e51f</id>
<content type='text'>
Instead of only moving the demo indicator and header slightly
to the top when no page is selected or demo mode is inactive,
hide them altogether so thay they don't end up showing under
the system bars on Android.

Also, for flickable pages clip their content so they don't
end up scrolling to the top underneath the header and showing
partially below the system bars.

Task-number: QTBUG-138022
Change-Id: I31da83ce5978dc1cab63cfe39d53f2d2c72088a9
Reviewed-by: Rami Potinkara &lt;rami.potinkara@qt.io&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit c4e98e618e4fca4f850a859d5ef4f04384d575bc)
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>
Instead of only moving the demo indicator and header slightly
to the top when no page is selected or demo mode is inactive,
hide them altogether so thay they don't end up showing under
the system bars on Android.

Also, for flickable pages clip their content so they don't
end up scrolling to the top underneath the header and showing
partially below the system bars.

Task-number: QTBUG-138022
Change-Id: I31da83ce5978dc1cab63cfe39d53f2d2c72088a9
Reviewed-by: Rami Potinkara &lt;rami.potinkara@qt.io&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit c4e98e618e4fca4f850a859d5ef4f04384d575bc)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Account for safe margins in scenegraph vulkan example</title>
<updated>2025-09-30T16:40:35+00:00</updated>
<author>
<name>Assam Boudjelthia</name>
<email>assam.boudjelthia@qt.io</email>
</author>
<published>2025-09-29T10:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=0da04bec701bafecbebf85e650c7a695932a4e18'/>
<id>0da04bec701bafecbebf85e650c7a695932a4e18</id>
<content type='text'>
Fixes: QTBUG-140544
Pick-to: 6.10.0
Change-Id: I951d3bae73157ccf2cfcf549b506a44651719243
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
(cherry picked from commit 2cee3a18de7c568830532adeda48821af46e19ab)
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>
Fixes: QTBUG-140544
Pick-to: 6.10.0
Change-Id: I951d3bae73157ccf2cfcf549b506a44651719243
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
(cherry picked from commit 2cee3a18de7c568830532adeda48821af46e19ab)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 6.10.1</title>
<updated>2025-09-29T14:08:26+00:00</updated>
<author>
<name>Jani Heikkinen</name>
<email>jani.heikkinen@qt.io</email>
</author>
<published>2025-09-10T11:36:11+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8ff6cc68fee587cb567f603aea9edf1867d29980'/>
<id>8ff6cc68fee587cb567f603aea9edf1867d29980</id>
<content type='text'>
Change-Id: Id41b521ddb214db785f5c4dff4d5b3621564de00
Reviewed-by: Jani Heikkinen &lt;jani.heikkinen@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id41b521ddb214db785f5c4dff4d5b3621564de00
Reviewed-by: Jani Heikkinen &lt;jani.heikkinen@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
