qtdeclarative/tests/manual/platforms/android/qtquickview_java
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
..
app Android: update Qt Quick for Android examples to SDK 35 2025-03-20 08:56:43 +00:00
gradle/wrapper QtQ4A: Update Gradle and Kotlin plugin versions in examples 2025-07-15 11:33:07 +03:00
.gitignore
README.md Doc: Version string '6.9.0' found in 6.10.0 sources 2025-04-24 08:40:17 +03:00
build.gradle Update Gradle versions in QtQ4A examples 2025-01-15 20:14:36 +02:00
gradle.properties
settings.gradle Android: Replace Qt snapshot maven, with release maven repo 2024-09-10 16:18:55 +03:00

README.md

What is this?

This project is for manual testing of embedding QML into Android Services. It loads a QML view and a regular Android view side by side, both hosted by a Service, and wires them together.

This application is meant to be built using Android Studio, with the Qt Gradle plugin. There is no need to manually build the Qt project or edit it, only this Android project.

How to sign the application

In order to sign the application, you must have a keystore file and list it in a 'keystore.properties' file in the project root.

  1. Create 'keystore.properties' file in the same folder as this README
  2. Add the following information to the file:
    storePassword=somePassword
    keyPassword=someOtherPassword
    keyAlias=someKeyAlias
    storeFile=/full/path/to/your/keystore.keystore
    

After this, the app build.gradle will read that file and extract the required information from it, and use that to sign the app before it is deployed.

How to configure QtBuild Gradle plugin

The app-level build.gradle already includes and configures the plugin, but it requires some information about the environment it's running in: The Qt installation directory, and the Qt for Android kit directory.

  1. Create 'qtbuild.properties' file in the same folder as this README
  2. Add the following information to the file:
    qtKitDir=/path/to/your/android/kit/
    qtPath=/path/to/your/Qt/installation // e.g. /etc/Qt/6.10.0