File: README.md

package info (click to toggle)
qt6-declarative 6.9.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 308,920 kB
  • sloc: cpp: 775,911; javascript: 514,247; xml: 10,855; python: 2,806; ansic: 2,253; java: 810; sh: 262; makefile: 41; php: 27
file content (35 lines) | stat: -rw-r--r-- 1,459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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.9.0
    ```