Commit Graph

12 Commits

Author SHA1 Message Date
Olli Vuolteenaho 3837355aed QtQ4A: Update Gradle and Kotlin plugin versions in examples
Gradle 8.10 -> 8.14.2
Kotlin Android Gradle plugin 2.1.0 -> 2.2.0

Pick-to: 6.10
Task-number: QTBUG-137782
Change-Id: I62b54d2730b1fc48139057d1a4ef0ce4061aaeb0
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2025-07-15 11:33:07 +03:00
Inkamari Harjula 036fc22076 Doc: Version string '6.9.0' found in 6.10.0 sources
Version strings fixed in qtdeclarative.

Task-number: QTBUG-135944
Change-Id: If829e0b430532c38300a461351e80e79665756e0
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2025-04-24 08:40:17 +03:00
Rami Potinkara f90812878b Android: update Qt Quick for Android examples to SDK 35
This patch updates qtdeclarative examples to use
SDK 35 as a target and compile version SDK.

Task-number: QTBUG-130285
Task-number: QTBUG-129461
Pick-to: 6.9 6.8
Change-Id: Ie11f8bebff7dfeb4c1a87c07826f9e9ef0f78d4b
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-20 08:56:43 +00:00
Petri Virkkunen 1cecf1ce1e QQ4A: Fix status change listener in service manual test
Due to 76bb559e5f, the QML status change
listener is no longer a functional interface, and cannot be represented
with a lambda. Replace usage of this interface with a fully formed
instance.

Fixes: QTBUG-132461
Pick-to: 6.9
Change-Id: Ib456df209189e9657fb65987e7f5b13f19e7b8f5
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-02-24 11:46:04 +02:00
Olli Vuolteenaho 314c8eb498 Update Gradle versions in QtQ4A examples
These versions are currently all over the board, and the intention is
to have them in line with the Qt for Android requirements (which is
Gradle 8.10 and AGP 8.6). Also update the Kotlin plugins while at it.

Task-number: QTBUG-132815
Pick-to: 6.9 6.8
Change-Id: I72d8cb15d80b8b69301bbc2bbfeebf779ef137df
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-01-15 20:14:36 +02:00
Inkamari Harjula 7715c5f056 Fix String '6.8.0' found in 6.9.0 sources in qtdeclarative
Occurrences fixed.

Task-number: QTBUG-130833
Change-Id: Ideda05852ce9bbfbce3dfa7bdf7c06155c598f46
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-11-12 14:55:12 +02:00
Assam Boudjelthia 88660cd34a Android: remove packagingOptions.jniLibs.useLegacyPackaging property
This is not needed after 0db5b424cdaede8724886e8a1eda1380382d9aaf.

Change-Id: Ic5fc2bccf260cfdc159212324fb066d9137753c0
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
2024-10-31 13:49:56 +03:00
Petri Virkkunen c9c7ce461a Android: Update QML in Android service test to use multiple views
Adds a second QML view and modify the Android UI to provide controls for
the second QML view.

Modifies service QML loading code to load the second QML view in a second
QtQuickView, and link controls together.

Modifies QML views to fit content on half a screen, by removing
unneeded text.

Task-number: QTBUG-128552
Change-Id: I10f2897ba2fa8b2bd29fbca28e63df08d290a201
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-09-11 16:11:31 +03:00
Soheil Armin 0007adef5b Android: Replace Qt snapshot maven, with release maven repo
This change replaces the 0.1 SNAPSHOT versions with
1.+ version which means 1.0 and above.

We should also remove Qt maven repository URL so the
plugin can be fetched from mavenCentral.

Task-number: QTBUG-128417
Pick-to: 6.8
Change-Id: Id1006b64f6bf3f0d13d03a4f26b441236aa77cc7
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2024-09-10 16:18:55 +03:00
Petri Virkkunen 746b4d1086 Android: Update QML in Android service manual test to use new API
QtQuickViewComponent was renamed to QtQuickViewContent, along with that
loadComponent was renamed to loadContent.

Pick-to: 6.8
Fixes: QTBUG-128611
Change-Id: I9ca5d58edf5d1d14ea2d014fd94d01e5e07ca106
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-09-06 09:49:59 +03:00
Olli Vuolteenaho 6699b6bfd1 Improve Service Embedding manual test
- There is no need for QtGP to be a dependency, only a plugin
- Fix README.md path use as per QtGP changes

Pick-to: 6.8
Change-Id: Ic3fe358d80f75ebe5c90d003e192c9ac11eb55b2
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
2024-08-01 08:31:40 +03:00
Rami Potinkara 177a7f4e18 Android: Rename QtQuickView Java and Kotlin examples
Renamed qml_in_.. starting folders to qtquickview starting ones.
After the change this example follows a similar logic as other
declarative/examples/platform/android examples.
The change also shortened the path to address the Windows path
limitation of 260 characters.
Updated also documentation and manual tests.

Fixes: QTBUG-127067
Pick-to: 6.8
Change-Id: Ie564630e0f924d0b0694bf7c9d47931eab00b422
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
2024-07-29 18:58:08 +03:00