Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-65567

Support AAR files with androiddeployqt

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.5, 6.7
    • QPA
    • Android
    • e59f31006 (dev), 79f3fe704 (dev), 28b384898 (dev), 7040a4cde (dev)
    • 2024wk22s2FOQtforAndroid

      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

            tinjapaavoseppa Tinja Paavoseppä
            misery André Klitzing
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes