Doc: Add Squish test to example docs

Adds mentions of Squish tests for Coffee Machine
and Calqlatr example.

Task-number: QTBUG-138433
Task-number: QTBUG-138434
Pick-to: 6.10
Change-Id: I42edab9297490c71f50bc9e1f9413e95c02d0c5b
Reviewed-by: Konsta Alajärvi <konsta.alajarvi@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Jani Korteniemi 2025-08-13 14:24:47 +03:00 committed by Konsta Alajärvi
parent 838996a369
commit c7027b0093
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,18 @@
\section1 Squish GUI testing
This application comes with \l {https://doc.qt.io/squish/index.html}
{Squish GUI tests} targeted for \Q4A. The tests are made with
\l {https://doc.qt.io/squish/installing-squish-for-qt.html#ins-squish-for-qt}
{Squish for Qt} and are written in Python and can be found under the
application test directory.
When using Squish for \Q4A, make sure to use the
\l {https://doc.qt.io/squish/squish-s-c-api.html#using-the-qt-built-in-hook}{Qt built-in hook}
and \l {https://doc.qt.io/squish/installing-squish-for-qt-for-android-testing.html}{forward Squish port}
with adb.
If you are getting the error "Cannot load library" with \c dlopen failing, disable
\c QT_USE_TARGET_ANDROID_BUILD_DIR from CMake configuration, or clear it from
\uicontrol {Projects->Build Settings->CMake->Current Configuration} in \QC.
If you don't have a Squish license, you can get a
\l{https://www.qt.io/quality-assurance/squish-free-trial}{free trial}.

View File

@ -183,5 +183,7 @@
\section1 Source files
\include squish-tested-example.qdocinc
\sa {QML Applications}
*/

View File

@ -241,5 +241,8 @@
\section1 Source files
\sa {Qt Quick Examples and Tutorials} {All Qt Examples}
\include squish-tested-example.qdocinc
*/