<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/examples/quickcontrols/texteditor, branch 6.7.3</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Doc: Fix qsTr() link</title>
<updated>2024-07-19T16:39:31+00:00</updated>
<author>
<name>Andreas Eliasson</name>
<email>andreas.eliasson@qt.io</email>
</author>
<published>2024-06-26T13:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b94399934233c64b60b038f65fff2514b9ee609a'/>
<id>b94399934233c64b60b038f65fff2514b9ee609a</id>
<content type='text'>
Fixes qdoc warning:
qtquickcontrols-texteditor.qdoc:128: Can't link to 'qsTr'

Change-Id: Ib2543779cc97052fd754b417468cb315313503a9
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit a7bd27f17d512a7ca1d928cbf9030cd6598086f6)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ac58ea00a99c74f17ccd4f14f93eef5c569a3931)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes qdoc warning:
qtquickcontrols-texteditor.qdoc:128: Can't link to 'qsTr'

Change-Id: Ib2543779cc97052fd754b417468cb315313503a9
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit a7bd27f17d512a7ca1d928cbf9030cd6598086f6)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ac58ea00a99c74f17ccd4f14f93eef5c569a3931)
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct license for examples files</title>
<updated>2024-04-04T09:52:36+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2024-03-07T14:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b750d87136c2ef3c2d95935050612082e33a6e72'/>
<id>b750d87136c2ef3c2d95935050612082e33a6e72</id>
<content type='text'>
Example takes precedent over build system file type.
According to QUIP-18 [1], all examples file should be
LicenseRef-Qt-Commercial OR BSD-3-Clause

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7.0
Task-number: QTBUG-121787
Change-Id: Ie8c2539e7659f53a1fd6b48f99ee883ee9aeb0a7
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
(cherry picked from commit 53295d9102632568ba3ea817d009f30317b9761a)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example takes precedent over build system file type.
According to QUIP-18 [1], all examples file should be
LicenseRef-Qt-Commercial OR BSD-3-Clause

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7.0
Task-number: QTBUG-121787
Change-Id: Ie8c2539e7659f53a1fd6b48f99ee883ee9aeb0a7
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
(cherry picked from commit 53295d9102632568ba3ea817d009f30317b9761a)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Add deployment API to our examples</title>
<updated>2024-03-28T14:25:40+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2024-03-18T18:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=442665fd9892b5a24aa434c0f5bff71d4441af01'/>
<id>442665fd9892b5a24aa434c0f5bff71d4441af01</id>
<content type='text'>
Projects were modified using the tool at:
https://git.qt.io/alcroito/cmake_refactor

A few examples had to be adapted manually, mostly those that build
additional qml modules / plugins.

The INSTALL_EXAMPLESDIR and INSTALL_EXAMPLEDIR assignments were
removed, these are not needed anymore because example directory
selection is handled by the qt_internal_add_example calls.

The install(TARGETS) calls were modified according to our
documentation snippets for qt_generate_deploy_qml_app_script.

A qt_generate_deploy_qml_app_script call was added for each
executable target.

Note that the deployment step will be skipped in the CI for now,
because:
- we enable QT_DEPLOY_MINIMAL_EXAMPLES in the CI instructions and thus
  set QT_INTERNAL_SKIP_DEPLOYMENT to true
- standalone examples feature is not yet enabled in the CI, which
  means we continue to build examples in-tree, and deployment is
  disabled for in-tree prefix builds.
A small list of examples to deploy in the CI will be chosen in the
future, to ensure deployment coverage, without slowing down overall CI
times due to all the *deployqt invocations.

Even if deployment is disabled in the CI, the install(TARGETS) calls
for each example will still run, installing into an
'installed_examples' directory, which will not be archived by the CI.

The QtBundleQmlModuleForMacOS and bundle_shared code was removed,
because we can now depend on the MACOS_BUNDLE_POST_BUILD option of the
deployment api, to ensure macOS bundle examples run properly in the
build dir. This works even in prefix in-tree builds, when installation
deployment is disabled.

Finally, for all examples that build additional qml module libraries or
plugins, the libraries / plugins must be installed into the bin dir of
each project, along with a qmldir file.

This is to support running the installed project for platforms that
don't have deployment api yet, like boot2qt / yocto.

If we want to have super clean install / deployment rules in the
future, we won't be able to avoid adding ugly per-platform conditions.
The current status quo is deemed an improvement over what we had
before.

Task-number: QTBUG-101340
Task-number: QTBUG-102056
Task-number: QTBUG-102057
Change-Id: I843d934668c25dbcd1abca52495b393579633fc5
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Alexey Edelev &lt;alexey.edelev@qt.io&gt;
(cherry picked from commit a6bd1dc3e0c3dc118b281afbc60d9de3aefc48fa)
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Projects were modified using the tool at:
https://git.qt.io/alcroito/cmake_refactor

A few examples had to be adapted manually, mostly those that build
additional qml modules / plugins.

The INSTALL_EXAMPLESDIR and INSTALL_EXAMPLEDIR assignments were
removed, these are not needed anymore because example directory
selection is handled by the qt_internal_add_example calls.

The install(TARGETS) calls were modified according to our
documentation snippets for qt_generate_deploy_qml_app_script.

A qt_generate_deploy_qml_app_script call was added for each
executable target.

Note that the deployment step will be skipped in the CI for now,
because:
- we enable QT_DEPLOY_MINIMAL_EXAMPLES in the CI instructions and thus
  set QT_INTERNAL_SKIP_DEPLOYMENT to true
- standalone examples feature is not yet enabled in the CI, which
  means we continue to build examples in-tree, and deployment is
  disabled for in-tree prefix builds.
A small list of examples to deploy in the CI will be chosen in the
future, to ensure deployment coverage, without slowing down overall CI
times due to all the *deployqt invocations.

Even if deployment is disabled in the CI, the install(TARGETS) calls
for each example will still run, installing into an
'installed_examples' directory, which will not be archived by the CI.

The QtBundleQmlModuleForMacOS and bundle_shared code was removed,
because we can now depend on the MACOS_BUNDLE_POST_BUILD option of the
deployment api, to ensure macOS bundle examples run properly in the
build dir. This works even in prefix in-tree builds, when installation
deployment is disabled.

Finally, for all examples that build additional qml module libraries or
plugins, the libraries / plugins must be installed into the bin dir of
each project, along with a qmldir file.

This is to support running the installed project for platforms that
don't have deployment api yet, like boot2qt / yocto.

If we want to have super clean install / deployment rules in the
future, we won't be able to avoid adding ugly per-platform conditions.
The current status quo is deemed an improvement over what we had
before.

Task-number: QTBUG-101340
Task-number: QTBUG-102056
Task-number: QTBUG-102057
Change-Id: I843d934668c25dbcd1abca52495b393579633fc5
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Alexey Edelev &lt;alexey.edelev@qt.io&gt;
(cherry picked from commit a6bd1dc3e0c3dc118b281afbc60d9de3aefc48fa)
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Controls Text Editor example and docs</title>
<updated>2024-03-18T23:59:04+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@qt.io</email>
</author>
<published>2024-03-06T05:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=3b44a457efcf42f4f6b3ce0d6ae41ef3821e4478'/>
<id>3b44a457efcf42f4f6b3ce0d6ae41ef3821e4478</id>
<content type='text'>
a27b75c89da31a9ed1cf6dc6f6d3f3514ad28f8e doesn't work in its
entirety on 6.7 branch; but this patch applies the parts that are
possible. These docs have been adapted from the version in
6217408799c43869b8a7c1fcbff882d42ae71171.

We update the html and markdown example files.

We also move ScrollBar to make explanation easier.

Pick-to: 6.7.0
Change-Id: If65de335f840382b5e236d8a04db382b0b7aee6a
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit 6217408799c43869b8a7c1fcbff882d42ae71171)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a27b75c89da31a9ed1cf6dc6f6d3f3514ad28f8e doesn't work in its
entirety on 6.7 branch; but this patch applies the parts that are
possible. These docs have been adapted from the version in
6217408799c43869b8a7c1fcbff882d42ae71171.

We update the html and markdown example files.

We also move ScrollBar to make explanation easier.

Pick-to: 6.7.0
Change-Id: If65de335f840382b5e236d8a04db382b0b7aee6a
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit 6217408799c43869b8a7c1fcbff882d42ae71171)
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Update TextEdit.textFormat, text and TextDocument.source</title>
<updated>2024-03-07T06:17:19+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@qt.io</email>
</author>
<published>2024-03-05T21:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=def0756b1dc43f1dcc12098b3f2ab678b9ef52ce'/>
<id>def0756b1dc43f1dcc12098b3f2ab678b9ef52ce</id>
<content type='text'>
Update docs after b46d6a75ac16089de1a29c773e7594a82ffea13e,
fdbacf2d5c0a04925bcb3aecd7bf47da5fb69227 etc.

Change-Id: Ieb49d6876f0a86031fb0ffe970f695e5acbe4c43
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit 93a18268f988219745e9ba5f1fe1babfc07417a3)
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>
Update docs after b46d6a75ac16089de1a29c773e7594a82ffea13e,
fdbacf2d5c0a04925bcb3aecd7bf47da5fb69227 etc.

Change-Id: Ieb49d6876f0a86031fb0ffe970f695e5acbe4c43
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit 93a18268f988219745e9ba5f1fe1babfc07417a3)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update manual tests and examples for change in default size policy</title>
<updated>2024-02-22T16:26:15+00:00</updated>
<author>
<name>Santhosh Kumar</name>
<email>santhosh.kumar.selvaraj@qt.io</email>
</author>
<published>2024-01-19T17:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=025eef48d079657f28b6301bf0e38e388d2e48fa'/>
<id>025eef48d079657f28b6301bf0e38e388d2e48fa</id>
<content type='text'>
The size policy of item updated as part of task QTBUG-117597. This
patch update existing examples and manual tests that depends on quick
layout to embrace size policy change.

Task-number: QTBUG-117597
Change-Id: I68469a3bba3c4d3e5ed4b6eae0fd765b5206efc0
Reviewed-by: Jan Arve Sæther &lt;jan-arve.saether@qt.io&gt;
(cherry picked from commit 8d3ed392bb51dc70c04aa521f1380616a78be7a9)
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>
The size policy of item updated as part of task QTBUG-117597. This
patch update existing examples and manual tests that depends on quick
layout to embrace size policy change.

Task-number: QTBUG-117597
Change-Id: I68469a3bba3c4d3e5ed4b6eae0fd765b5206efc0
Reviewed-by: Jan Arve Sæther &lt;jan-arve.saether@qt.io&gt;
(cherry picked from commit 8d3ed392bb51dc70c04aa521f1380616a78be7a9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Text editor example: fix up the touch-specific UI</title>
<updated>2024-02-16T02:46:00+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@qt.io</email>
</author>
<published>2024-02-13T01:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=21dfc250819ca572ba42978db404bc9dbd2c3df3'/>
<id>21dfc250819ca572ba42978db404bc9dbd2c3df3</id>
<content type='text'>
Catch up with recent changes in the default texteditor.qml file:

- TextDocument.status is new; the error signal is gone. Update as in
  bec8df96b7615c6ce419867254027773ea7fd6b1 and
  1e6cb2462ee87476a5eab7c71735c001a46c7b55
- 3bae41faace0d52a317cd015598ff1d0d8b823b7 changed the mapping of the
  "OK" checkmark in fontello.ttf
- use Actions to show and change cursorSelection styling, as in
  045f9ce192d841f3cc36d514b5f238b46488b41e
- set a default window size; it doesn't matter on a mobile device that
  runs everything fullscreen, but it's easier to test on desktop with
  the -touch flag

Fixes: QTBUG-121840
Task-number: QTBUG-121946
Change-Id: If678b92efe4e1824022fa0ee9106c0c3b0b9f194
Reviewed-by: Axel Spoerl &lt;axel.spoerl@qt.io&gt;
(cherry picked from commit 5cba3f5a8d875941e11caf8b8732982929fc30de)
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>
Catch up with recent changes in the default texteditor.qml file:

- TextDocument.status is new; the error signal is gone. Update as in
  bec8df96b7615c6ce419867254027773ea7fd6b1 and
  1e6cb2462ee87476a5eab7c71735c001a46c7b55
- 3bae41faace0d52a317cd015598ff1d0d8b823b7 changed the mapping of the
  "OK" checkmark in fontello.ttf
- use Actions to show and change cursorSelection styling, as in
  045f9ce192d841f3cc36d514b5f238b46488b41e
- set a default window size; it doesn't matter on a mobile device that
  runs everything fullscreen, but it's easier to test on desktop with
  the -touch flag

Fixes: QTBUG-121840
Task-number: QTBUG-121946
Change-Id: If678b92efe4e1824022fa0ee9106c0c3b0b9f194
Reviewed-by: Axel Spoerl &lt;axel.spoerl@qt.io&gt;
(cherry picked from commit 5cba3f5a8d875941e11caf8b8732982929fc30de)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use lookup table to show TextDocument status in texteditor example</title>
<updated>2024-02-13T18:01:05+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@qt.io</email>
</author>
<published>2024-02-05T21:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=460f8e4c3d74622b299dfd86aed1524f9b5516e4'/>
<id>460f8e4c3d74622b299dfd86aed1524f9b5516e4</id>
<content type='text'>
Computed properties make it possible to use scoped enum values as
object property names. Amends bec8df96b7615c6ce419867254027773ea7fd6b1

Also remove semicolons for consistency.

Task-number: QTBUG-121946
Change-Id: I1ee354722d9f0e065637731d1b535389a9cb0032
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 1e6cb2462ee87476a5eab7c71735c001a46c7b55)
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>
Computed properties make it possible to use scoped enum values as
object property names. Amends bec8df96b7615c6ce419867254027773ea7fd6b1

Also remove semicolons for consistency.

Task-number: QTBUG-121946
Change-Id: I1ee354722d9f0e065637731d1b535389a9cb0032
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 1e6cb2462ee87476a5eab7c71735c001a46c7b55)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>texteditor example: use TextDocument status rather than error signal</title>
<updated>2024-02-07T15:56:51+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@qt.io</email>
</author>
<published>2024-02-02T22:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=bf32e329d14ddcfa03c84367971b0751c9601738'/>
<id>bf32e329d14ddcfa03c84367971b0751c9601738</id>
<content type='text'>
Amends 5647b6900b2ecc291022143176b545b933eca3a8 in which the error
signal was removed and replaced with a status property.

Change-Id: I433987fe4c480c910c98c8fd3714c2e426e49c0f
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit bec8df96b7615c6ce419867254027773ea7fd6b1)
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>
Amends 5647b6900b2ecc291022143176b545b933eca3a8 in which the error
signal was removed and replaced with a status property.

Change-Id: I433987fe4c480c910c98c8fd3714c2e426e49c0f
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit bec8df96b7615c6ce419867254027773ea7fd6b1)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Create separate Graphics and Multimedia example categories</title>
<updated>2024-01-18T13:49:05+00:00</updated>
<author>
<name>Jaishree Vyas</name>
<email>jaishree.vyas@qt.io</email>
</author>
<published>2024-01-16T10:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=637fae95828cdb5b03b604d8be9c7afa45814665'/>
<id>637fae95828cdb5b03b604d8be9c7afa45814665</id>
<content type='text'>
Fixes: QTBUG-117884
Pick-to: 6.6
Change-Id: Ib0bb6217c29795fe50efdf827aa9902bbd572032
Reviewed-by: Topi Reiniö &lt;topi.reinio@qt.io&gt;
(cherry picked from commit 486cc33ce5c7607b4b2e37eac2588d694742f995)
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-117884
Pick-to: 6.6
Change-Id: Ib0bb6217c29795fe50efdf827aa9902bbd572032
Reviewed-by: Topi Reiniö &lt;topi.reinio@qt.io&gt;
(cherry picked from commit 486cc33ce5c7607b4b2e37eac2588d694742f995)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
