-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.10
-
-
2023wkXXFOQtforAndroid
I like to see support for AAR files created by androiddeployqt.
https://developer.android.com/studio/projects/android-library.html
We uses androiddeployqt to generate our APK files. Since it uses gradle it is possible to easily generate AAR files.
The build.gradle template needs to be adjusted a little bit. It has a hardcoded apply plugin: 'com.android.application". This must be replaced by "apply plugin: 'com.android.library'".
Also there are some tiny hardcoded stuff for APK in androideployqt that needs to be adjusted.
Of course we can use a custom build.gradle ourself. But official support would be great because it make it possible to easily distribute an SDK with native Qt libraries in it.
| For Gerrit Dashboard: QTBUG-65567 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 551535,30 | Android: Add facilities to build AAR packages | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 557579,13 | Android: Refactor packagePath() in androiddeployqt | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 560288,5 | androiddeployqt: Add a placeholder for plugin type in build.gradle | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 563159,3 | Android: add AAR as supported package type to docs | dev | qt/qtdoc | Status: MERGED | +2 | 0 |