<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/tests/auto/quicktest, 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>tests: skip QProcess-dependent tests on OHOS</title>
<updated>2026-06-13T03:26:45+00:00</updated>
<author>
<name>Seokha Ko</name>
<email>seokha.ko@qt.io</email>
</author>
<published>2026-06-10T05:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c99bf71ca8668fe18373facf56785e0406896df1'/>
<id>c99bf71ca8668fe18373facf56785e0406896df1</id>
<content type='text'>
OHOS sandboxes child processes, so launching external processes via
QProcess::start() blocks indefinitely. Extend existing Android guards
to also cover OHOS, and exclude the testfiltering suite at the CMake
level as is done for Android.

For tst_qmlcachegen::qrcScriptImport and the checkCleanCacheLoad
helper used by tst_qqmltypeloader::multiSingletonModule and
implicitComponentModule, only the QProcess sub-block is gated so the
rest of each test still runs on OHOS.

Fixes: QTBUG-147336
Pick-to: 6.12
Change-Id: Idaeea5139778ed9784db168c5784a599c4266867
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Assam Boudjelthia &lt;assam.boudjelthia@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OHOS sandboxes child processes, so launching external processes via
QProcess::start() blocks indefinitely. Extend existing Android guards
to also cover OHOS, and exclude the testfiltering suite at the CMake
level as is done for Android.

For tst_qmlcachegen::qrcScriptImport and the checkCleanCacheLoad
helper used by tst_qqmltypeloader::multiSingletonModule and
implicitComponentModule, only the QProcess sub-block is gated so the
rest of each test still runs on OHOS.

Fixes: QTBUG-147336
Pick-to: 6.12
Change-Id: Idaeea5139778ed9784db168c5784a599c4266867
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Assam Boudjelthia &lt;assam.boudjelthia@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant call to requestActivate in tst_activeFocus</title>
<updated>2026-03-09T16:01:02+00:00</updated>
<author>
<name>Frédéric Lefebvre</name>
<email>frederic.lefebvre@qt.io</email>
</author>
<published>2025-09-02T11:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4cce6bec96205ead68c6b1009a89535534175867'/>
<id>4cce6bec96205ead68c6b1009a89535534175867</id>
<content type='text'>
tst_activeFocus include a call to requestActivate() after a window is
shown. This call is redundant as show() already activates the window.

Remove the unnecessary requestActivate() calls to simplify the code.

Task-number: QTBUG-139705
Pick-to: 6.11 6.10
Change-Id: Ib96587dcd71db7836e4deac6afa1d351d18617f8
Reviewed-by: Axel Spoerl &lt;axel.spoerl@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tst_activeFocus include a call to requestActivate() after a window is
shown. This call is redundant as show() already activates the window.

Remove the unnecessary requestActivate() calls to simplify the code.

Task-number: QTBUG-139705
Pick-to: 6.11 6.10
Change-Id: Ib96587dcd71db7836e4deac6afa1d351d18617f8
Reviewed-by: Axel Spoerl &lt;axel.spoerl@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move qActiveFocusFailureMessage into a Private namespace</title>
<updated>2025-07-12T01:06:17+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2025-07-01T05:34:24+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f51fda1f1e55b43b1a5678f6fc98211ae08b496c'/>
<id>f51fda1f1e55b43b1a5678f6fc98211ae08b496c</id>
<content type='text'>
Addresses header review feedback:

https://codereview.qt-project.org/c/qt/qtdeclarative/+/651782/1/src/qmltest/quicktest.h#86

Amends 386e0851146bdfb24ad841ac388745c3af802673.

Task-number: QTBUG-137478
Pick-to: 6.10
Change-Id: Ie16fcac17b29280e47ef9e4362b877f3b4c61b74
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: Giuseppe D'Angelo &lt;giuseppe.dangelo@kdab.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses header review feedback:

https://codereview.qt-project.org/c/qt/qtdeclarative/+/651782/1/src/qmltest/quicktest.h#86

Amends 386e0851146bdfb24ad841ac388745c3af802673.

Task-number: QTBUG-137478
Pick-to: 6.10
Change-Id: Ie16fcac17b29280e47ef9e4362b877f3b4c61b74
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: Giuseppe D'Angelo &lt;giuseppe.dangelo@kdab.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tst_ActiveFocus: replace an unnecessary qPrintable</title>
<updated>2025-06-30T14:23:35+00:00</updated>
<author>
<name>Volker Hilsheimer</name>
<email>volker.hilsheimer@qt.io</email>
</author>
<published>2025-06-30T13:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5e00454739247cff9734979f979ae96c6f5bf15f'/>
<id>5e00454739247cff9734979f979ae96c6f5bf15f</id>
<content type='text'>
We already have a QByteArray that we can print directly, so no need to
go through a QString.

Amends 386e0851146bdfb24ad841ac388745c3af802673.

Task-number: QTBUG-133858
Pick-to: 6.10
Change-Id: I89768a1faf1ead2e763215348f8defbbeaeaa93e
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already have a QByteArray that we can print directly, so no need to
go through a QString.

Amends 386e0851146bdfb24ad841ac388745c3af802673.

Task-number: QTBUG-133858
Pick-to: 6.10
Change-Id: I89768a1faf1ead2e763215348f8defbbeaeaa93e
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickTest: return QByteArray from qActiveFocusFailureMessage helper</title>
<updated>2025-06-30T14:23:35+00:00</updated>
<author>
<name>Volker Hilsheimer</name>
<email>volker.hilsheimer@qt.io</email>
</author>
<published>2025-06-30T09:44:24+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8201bd21b047a9d199da10b324a188674e3e3862'/>
<id>8201bd21b047a9d199da10b324a188674e3e3862</id>
<content type='text'>
The primary use case for this function is to print diagnostics in case
of test failure, so don't go through from UTF8 to QString and back,
and instead return a QByteArray directly.

Amends 386e0851146bdfb24ad841ac388745c3af802673 to address header
review comment.

Pick-to: 6.10
Task-number: QTBUG-137478
Change-Id: Id5e242be274ef173bc89e281e6e6db5ce758914c
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The primary use case for this function is to print diagnostics in case
of test failure, so don't go through from UTF8 to QString and back,
and instead return a QByteArray directly.

Amends 386e0851146bdfb24ad841ac388745c3af802673 to address header
review comment.

Pick-to: 6.10
Task-number: QTBUG-137478
Change-Id: Id5e242be274ef173bc89e281e6e6db5ce758914c
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickTest: add and use active focus macros</title>
<updated>2025-04-25T00:36:08+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2025-02-24T07:30:38+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=386e0851146bdfb24ad841ac388745c3af802673'/>
<id>386e0851146bdfb24ad841ac388745c3af802673</id>
<content type='text'>
Also add support for popups (when controlstestutils_p.h is included).

[ChangeLog][Qt Quick Test] Added QVERIFY_ACTIVE_FOCUS and
QTRY_VERIFY_ACTIVE_FOCUS macros that can be used to get detailed
failure messages for when QQuickItem::hasActiveFocus should be true but
isn't.

Task-number: QTBUG-133858
Change-Id: I30c67a84ccc16e3969bac5661648d0062bc3d62c
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add support for popups (when controlstestutils_p.h is included).

[ChangeLog][Qt Quick Test] Added QVERIFY_ACTIVE_FOCUS and
QTRY_VERIFY_ACTIVE_FOCUS macros that can be used to get detailed
failure messages for when QQuickItem::hasActiveFocus should be true but
isn't.

Task-number: QTBUG-133858
Change-Id: I30c67a84ccc16e3969bac5661648d0062bc3d62c
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: include QTest, not QtTest</title>
<updated>2025-04-15T17:27:07+00:00</updated>
<author>
<name>Giuseppe D'Angelo</name>
<email>giuseppe.dangelo@kdab.com</email>
</author>
<published>2025-04-10T12:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fb4abf95c1a320002e5ea77877371966460a9fa6'/>
<id>fb4abf95c1a320002e5ea77877371966460a9fa6</id>
<content type='text'>
Never use module-wide inclusions. They blow up build times. For QtTest
this is usually just a typo (QTest was meant instead). Add missing
includes as needed.
In the diffs I've spotted other huge inclusions (QtQuick, QtQml), but
those need more attention.

Task-number: QTQAINFRA-7110
Pick-to: 6.9 6.8
Change-Id: I74bf3fe212f50a7a3a6af2b1c80bbcaabc2516d7
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Never use module-wide inclusions. They blow up build times. For QtTest
this is usually just a typo (QTest was meant instead). Add missing
includes as needed.
In the diffs I've spotted other huge inclusions (QtQuick, QtQml), but
those need more attention.

Task-number: QTQAINFRA-7110
Pick-to: 6.9 6.8
Change-Id: I74bf3fe212f50a7a3a6af2b1c80bbcaabc2516d7
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct license for test files</title>
<updated>2024-02-27T09:32:21+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2024-02-22T14:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9c5fc883881799fa28cf74535351e76dcea10a0a'/>
<id>9c5fc883881799fa28cf74535351e76dcea10a0a</id>
<content type='text'>
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

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

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Kai Köhne &lt;kai.koehne@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>
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

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

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Make qtdeclarative tests standalone projects</title>
<updated>2023-07-05T10:34:12+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2023-06-29T16:11:18+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1e5252f82e2c4e0c7922a21f5442ffbd534d2a15'/>
<id>1e5252f82e2c4e0c7922a21f5442ffbd534d2a15</id>
<content type='text'>
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the follow script:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: Ibd12efab09ceb5852395e40f10b55fafb69c1b58
Reviewed-by: Amir Masoud Abdol &lt;amir.abdol@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>
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the follow script:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: Ibd12efab09ceb5852395e40f10b55fafb69c1b58
Reviewed-by: Amir Masoud Abdol &lt;amir.abdol@qt.io&gt;
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Retire the qt_parse_all_arguments</title>
<updated>2023-01-20T15:40:42+00:00</updated>
<author>
<name>Amir Masoud Abdol</name>
<email>amirmasoudabdol@icloud.com</email>
</author>
<published>2023-01-11T17:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c2d37f964665bd647f3cd958502e8357f654f43f'/>
<id>c2d37f964665bd647f3cd958502e8357f654f43f</id>
<content type='text'>
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
