qt6-bb10/tests/auto/corelib
Tinja Paavoseppä 06d2aa91eb Android: Add a context delegate for embedding QML to native Android
When we are embedding a QML view to a non-Qt Android app, there are a lot
of functionalities that are shared with the refular Qt Android app, but
some are not. We should not, for example, try to control the hosting
Activity.
Create a base class that both the QtActivityDelegate, used for the
standard Qt for Android app, and the delegate for the embedding case
can extend.

In this commit, the QtEmbeddedDelegate is very simple, the
biggest difference to QtActivityDelegate being it does not create
a QtLayout or instantiate a QtAccessibilityDelegate.
It does start the Qt app, without waiting for a layout, and register
to listen for changes in the state of the Qt app.

Taking the embedded delegate into use, loading the embedded QML
views and their handling is added in a follow up commit.

Task-number: QTBUG-118872
Pick-to: 6.7
Change-Id: Id390a2b35c70b35880523886bf6fcf59d420cb42
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-01-21 15:46:30 +02:00
..
animation Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
global qfloat16: make relational operators constexpr when QFLOAT16_IS_NATIVE 2024-01-19 13:58:57 +01:00
io Fix some -Wunused-* warnings on MinGW 2024-01-10 09:45:48 +01:00
ipc Skip tst_QSharedMemory::useTooMuchMemory 2023-12-22 17:01:01 +02:00
itemmodels Introduce macros to simplify testing comparison 2024-01-19 12:58:57 +00:00
kernel QObject: assert connection type isn't UniqueConnection for lambdas 2023-12-22 19:16:47 +02:00
mimetypes QMimeDataBase: Remove dead code 2024-01-16 22:56:44 +01:00
platform Android: Add a context delegate for embedding QML to native Android 2024-01-21 15:46:30 +02:00
plugin Resurrect tests/auto/corelib/plugin/qpluginloader/machtest 2024-01-10 00:44:34 +01:00
serialization Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
text tst_QStringView: don't go through the QString constructor 2024-01-14 17:49:12 -08:00
thread QFuture: Don't use QFutureCallOutInterface for continuations 2023-12-13 21:54:00 +01:00
time Introduce macros to simplify testing comparison 2024-01-19 12:58:57 +00:00
tools Optimize QSet::unite 2024-01-20 08:55:06 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00