qt6-base: Merge Request adding android support

Fab Stz fabstz-it at yahoo.fr
Tue Sep 20 11:41:03 BST 2022


Hello,

I just created a merge request for review to start adding android support to 
qt6-base.

This would create binary packages for each ABI supported by android and 
permits to build android packages that are based on Qt.

You can find it here:
https://salsa.debian.org/qt-kde-team/qt6/qt6-base/-/merge_requests/14

A few notes:

- It requires the installation of the Android SDK & NDK which is handled 
through the Build-Depends in d/control

- For now I only enabled two ABI, but adding the remaining ones wouldn't be 
much effort. I install all files currently, but this can be fine tuned, as 
well as putting common files to the qt6-base-android-common package which is 
now empty.

- I had to disable sqlite feature because sqlite source was removed in the 
repacked orig.tar (through d/copyright)

- Restoring the gradle-wrapper.jar that is currently excluded by d/copyright 
would be useful. It is Apache-2.0 licensed. It is needed by Qt so that it can 
build the android apps.

Your comments to improve this are welcome and I hope that it could enter 
Debian some day. Depending on your feedback I will improve this.

Rgds
Fab

Concerning gradle wrapper:

To make the Wrapper files available to other developers and execution 
environments you’ll need to check them into version control. All Wrapper files 
including the JAR file are very small in size. Adding the JAR file to version 
control is expected. Some organizations do not allow projects to submit binary 
files to version control. At the moment there are no alternative options to 
the approach. [1]

[1]: https://docs.gradle.org/current/userguide/
gradle_wrapper.html#sec:adding_wrapper





More information about the pkg-kde-talk mailing list