<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/examples/qml, branch 6.5.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>Convert XMLHttpRequest example to a snippet and add doc page</title>
<updated>2023-03-07T05:49:28+00:00</updated>
<author>
<name>Oliver Eftevaag</name>
<email>oliver.eftevaag@qt.io</email>
</author>
<published>2023-01-12T15:04:52+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=85a8b1f613d32d9baaf76fbe625050c0aed99c9b'/>
<id>85a8b1f613d32d9baaf76fbe625050c0aed99c9b</id>
<content type='text'>
The XmlHttpRequest is poorly documented, and should have its own
documentation page, instead of being part of the qml global object page.

The XmlHttpRequest example might as well be converted to a snippet, that
can be present on the new doc page.

Fixes: QTBUG-110003
Change-Id: I0ffee43046d4fb71e64f04008b444e11dc8b21ff
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
(cherry picked from commit 746824b49a2c1cc0e9d5ff89cc5b31c52911aea1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The XmlHttpRequest is poorly documented, and should have its own
documentation page, instead of being part of the qml global object page.

The XmlHttpRequest example might as well be converted to a snippet, that
can be present on the new doc page.

Fixes: QTBUG-110003
Change-Id: I0ffee43046d4fb71e64f04008b444e11dc8b21ff
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
(cherry picked from commit 746824b49a2c1cc0e9d5ff89cc5b31c52911aea1)
</pre>
</div>
</content>
</entry>
<entry>
<title>NetworkAccessManagerFactory: Complete documentation page with snippets</title>
<updated>2023-03-05T06:24:55+00:00</updated>
<author>
<name>Olivier De Cannière</name>
<email>olivier.decanniere@qt.io</email>
</author>
<published>2023-02-10T15:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=354cebbdc8cd016833230c0ee7754427963a2c84'/>
<id>354cebbdc8cd016833230c0ee7754427963a2c84</id>
<content type='text'>
Fixes: QTBUG-110657
Change-Id: I063eb4ac25cbe226b5a996014042515d6ada5468
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit d023d149d934897515a532a483def76801b93585)
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-110657
Change-Id: I063eb4ac25cbe226b5a996014042515d6ada5468
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit d023d149d934897515a532a483def76801b93585)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace AUTO_RESOURCE_PREFIX with Qt CMake Policy in examples, tests</title>
<updated>2023-02-22T09:04:10+00:00</updated>
<author>
<name>Amir Masoud Abdol</name>
<email>amir.abdol@qt.io</email>
</author>
<published>2023-02-02T15:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=db81d9f54957af05b0e8ad7fd553cf8287f5a9e5'/>
<id>db81d9f54957af05b0e8ad7fd553cf8287f5a9e5</id>
<content type='text'>
Every instance of AUTO_RESOURCE_PREFIX has been replaced by either
qt_standard_project_setup(REQUIRES 6.5) or with
qt_policy(SET QTP0001 NEW), mainly in tests.

In addition, I added a warning message for the case where
AUTO_RESOURCE_PREFIX is used.

Task-number: QTBUG-96233
Change-Id: I323a15e9d0bb5fe6ba649365314af9fc2ad67bda
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit 8f7080fd0957fea3a67a255e5344ab125fa3c33f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Every instance of AUTO_RESOURCE_PREFIX has been replaced by either
qt_standard_project_setup(REQUIRES 6.5) or with
qt_policy(SET QTP0001 NEW), mainly in tests.

In addition, I added a warning message for the case where
AUTO_RESOURCE_PREFIX is used.

Task-number: QTBUG-96233
Change-Id: I323a15e9d0bb5fe6ba649365314af9fc2ad67bda
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit 8f7080fd0957fea3a67a255e5344ab125fa3c33f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix locale example</title>
<updated>2023-02-13T19:51:23+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2023-02-09T19:44:23+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=95cda280a823a6cd53e8eb74c68f29260bb6b972'/>
<id>95cda280a823a6cd53e8eb74c68f29260bb6b972</id>
<content type='text'>
Instead of fetching data from the view, we should rather fetch it from
the model, which avoids a bug with casting when the currentItem is null.
Use the opportunity to use a typed list for the model instead of a plain
JS array.

Original-patch-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Change-Id: Ib23fb31b3d0a2c309c98bf762cea1a8c05080c38
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 05683ad15d068b42b8b54d75a3c5377e994bface)
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 fetching data from the view, we should rather fetch it from
the model, which avoids a bug with casting when the currentItem is null.
Use the opportunity to use a typed list for the model instead of a plain
JS array.

Original-patch-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Change-Id: Ib23fb31b3d0a2c309c98bf762cea1a8c05080c38
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 05683ad15d068b42b8b54d75a3c5377e994bface)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qt_add_qml_module: Make usage of AUTO_RESOURCE_PREFIX a policy</title>
<updated>2023-02-02T02:44:54+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2022-12-08T17:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=255ee6c962966b758f945e975092cc79e3234955'/>
<id>255ee6c962966b758f945e975092cc79e3234955</id>
<content type='text'>
Writing AUTO_RESOURCE_PREFIX in every qt_add_qml_module call seems
rather pointless.

In addition:
- Add documentation for QTP0001.
- Adjust some of the examples to use QTP0001 policy.
- Improved the error message.

Task-number: QTBUG-96233
Change-Id: I6e19a491acba97493893bf1953fca3462296c1ea
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
Reviewed-by: Leena Miettinen &lt;riitta-leena.miettinen@qt.io&gt;
(cherry picked from commit ec452fc6e87e82d135d7ef782d5c811583d5c433)
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 AUTO_RESOURCE_PREFIX in every qt_add_qml_module call seems
rather pointless.

In addition:
- Add documentation for QTP0001.
- Adjust some of the examples to use QTP0001 policy.
- Improved the error message.

Task-number: QTBUG-96233
Change-Id: I6e19a491acba97493893bf1953fca3462296c1ea
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
Reviewed-by: Leena Miettinen &lt;riitta-leena.miettinen@qt.io&gt;
(cherry picked from commit ec452fc6e87e82d135d7ef782d5c811583d5c433)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Allow omitting the version of QML modules</title>
<updated>2023-01-30T09:45:04+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2022-06-10T13:51:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1d090673bf7619db95c19bfcb0f7797b8dc2ad27'/>
<id>1d090673bf7619db95c19bfcb0f7797b8dc2ad27</id>
<content type='text'>
Also, drop all the VERSION 1.0 lines from the examples and tests. 1.0 is
actually a bad default version since it's before all the Qt versions.

[ChangeLog][QML] You can now omit the VERSION argument to
qt_add_qml_module(). This will automatically generate the highest
possible version.

Task-number: QTBUG-99146
Change-Id: Ic10ec69b87c224e0e94e1785f65653815d4c778c
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
Reviewed-by: Alexey Edelev &lt;alexey.edelev@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
(cherry picked from commit 2d44365f69b9bc946d085c6b149e2ac319700265)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, drop all the VERSION 1.0 lines from the examples and tests. 1.0 is
actually a bad default version since it's before all the Qt versions.

[ChangeLog][QML] You can now omit the VERSION argument to
qt_add_qml_module(). This will automatically generate the highest
possible version.

Task-number: QTBUG-99146
Change-Id: Ic10ec69b87c224e0e94e1785f65653815d4c778c
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
Reviewed-by: Alexey Edelev &lt;alexey.edelev@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
(cherry picked from commit 2d44365f69b9bc946d085c6b149e2ac319700265)
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Update QML I18N example docs</title>
<updated>2023-01-27T12:37:13+00:00</updated>
<author>
<name>Leena Miettinen</name>
<email>riitta-leena.miettinen@qt.io</email>
</author>
<published>2023-01-17T16:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=02b75a088fccf572193c8a1496e15a0e6589b281'/>
<id>02b75a088fccf572193c8a1496e15a0e6589b281</id>
<content type='text'>
Describe the use of qsTr() and QQmlApplicationEngine, as well
as the CMake qt_add_translations command.

Task-number: QTBUG-110009
Change-Id: I7d2244a772fdb132acdb5f9f66294a7d772e0d36
Reviewed-by: Jörg Bornemann &lt;joerg.bornemann@qt.io&gt;
(cherry picked from commit 18359e22442e5c4e15a9b09a8689a4d5fb1279a9)
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Describe the use of qsTr() and QQmlApplicationEngine, as well
as the CMake qt_add_translations command.

Task-number: QTBUG-110009
Change-Id: I7d2244a772fdb132acdb5f9f66294a7d772e0d36
Reviewed-by: Jörg Bornemann &lt;joerg.bornemann@qt.io&gt;
(cherry picked from commit 18359e22442e5c4e15a9b09a8689a4d5fb1279a9)
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Replace hard-coded Qt version number with the \QtVersion macro</title>
<updated>2022-12-12T17:45:49+00:00</updated>
<author>
<name>Topi Reinio</name>
<email>topi.reinio@qt.io</email>
</author>
<published>2022-11-24T10:02:30+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=71db3d449e9f42d6af614e63acc81401f8fcfa14'/>
<id>71db3d449e9f42d6af614e63acc81401f8fcfa14</id>
<content type='text'>
Pick-to: 6.4
Task-number: QTBUG-108101
Change-Id: I868e9aaa313733af1676977c793186aa8c0aa0aa
Reviewed-by: Leena Miettinen &lt;riitta-leena.miettinen@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pick-to: 6.4
Task-number: QTBUG-108101
Change-Id: I868e9aaa313733af1676977c793186aa8c0aa0aa
Reviewed-by: Leena Miettinen &lt;riitta-leena.miettinen@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QmlExamples: Add missing dependencies of QtQuick in CMakeLists</title>
<updated>2022-11-07T17:15:57+00:00</updated>
<author>
<name>Semih Yavuz</name>
<email>semih.yavuz@qt.io</email>
</author>
<published>2022-11-07T10:28:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=826cf9bb808999d9b49f8ad53b80a902e8fd7bda'/>
<id>826cf9bb808999d9b49f8ad53b80a902e8fd7bda</id>
<content type='text'>
Running qmllint on extending-qml examples raises a plenty of warnings
due to a missing dependency declaration to QtQuick. Simply add it. Also
add FINAL to all properties exposed from C++ to disable (possible) property
shadowings.

Pick-to: 6.4 6.2
Fixes: QTBUG-106602
Change-Id: I7b12a804f8f3ca64bd8f2f312a9e53dfe02b0a4c
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running qmllint on extending-qml examples raises a plenty of warnings
due to a missing dependency declaration to QtQuick. Simply add it. Also
add FINAL to all properties exposed from C++ to disable (possible) property
shadowings.

Pick-to: 6.4 6.2
Fixes: QTBUG-106602
Change-Id: I7b12a804f8f3ca64bd8f2f312a9e53dfe02b0a4c
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SEO-enhance attached property documentation</title>
<updated>2022-10-12T12:10:03+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2022-10-12T11:07:49+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=78beaa5ff81ac8b269bfd302d1770df87e29aaa4'/>
<id>78beaa5ff81ac8b269bfd302d1770df87e29aaa4</id>
<content type='text'>
Currently, it's rather hard to find the documentation on how to write
attached properties. The page that gets found first in most search
engines seems to be the example - so link from it to the actual
documentation pages.

Pick-to: 6.2 6.4
Change-Id: I78c9949d62863b5c11ffcd97413084ab03b0bc33
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Leena Miettinen &lt;riitta-leena.miettinen@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, it's rather hard to find the documentation on how to write
attached properties. The page that gets found first in most search
engines seems to be the example - so link from it to the actual
documentation pages.

Pick-to: 6.2 6.4
Change-Id: I78c9949d62863b5c11ffcd97413084ab03b0bc33
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Leena Miettinen &lt;riitta-leena.miettinen@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
