qt6-bb10/tests/auto
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
..
bic/data Add binary compatibility file for 6.6.0 2023-10-17 22:23:42 +03:00
cmake qt6_wrap_cpp: Add .moc generation 2024-01-19 16:16:51 +01:00
concurrent Fix QThreadPool::maxThreadCount() usage 2024-01-08 18:29:26 +01:00
corelib Android: Add a context delegate for embedding QML to native Android 2024-01-21 15:46:30 +02:00
dbus QDBusConnectionPrivate: Close connection after failed q_dbus_bus_register() 2023-12-07 23:36:15 +01:00
gui QTextImageHandler: Use QUrl::toLocalFile to convert to local file name 2024-01-21 09:12:33 +00:00
guiapplauncher Turn the "concentriccircles" example into snippets, update screenshot 2023-12-14 20:06:32 +01:00
network Remove QHttpHeaders::names() 2024-01-20 03:35:32 +00:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
printsupport Dialogs: clean up native dialogs when object gets destroyed 2023-09-06 23:12:33 +02:00
shared coretext: Support variable application fonts 2023-10-03 19:25:46 +02:00
sql SQL: rename enablePositionalBinding() to setPositionalBindingEnabled() 2024-01-10 04:32:49 +01:00
testlib Fix some -Wunused-* warnings on MinGW 2024-01-10 09:45:48 +01:00
tools tst_moc: fix some -Wunused-* warnings on MinGW 2024-01-10 09:45:48 +01:00
wasm wasm tests: Add test for making network request 2023-12-19 17:05:55 +00:00
widgets tst_QWidget: Add test that WA_NativeWindow results in window handle 2024-01-20 13:29:14 +01:00
xml CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt CI: Enable some tests under corelib/thread for Wasm platform 2023-09-14 11:58:48 +02:00
network-settings.h QtNetworkSettings: narrow down hasIPv6 to specific OSes 2023-08-29 07:20:51 -07:00