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

Use Gradle for building Qt for Android

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • 6.1
    • None
    • Build System
    • None
    • Android

    Description

      New Android builds are using the new library AndroidX which in Android Studio is retrieved by Gradle. In our build scripts, manual javac compilation is used to generate a jar file for Qt for Android. This might become an issue in the future, and even now, since some features are available only via AndroidX like FileProvider QTBUG-67877, which in this case we cannot use FileProvider in QtNative class to enable proper file accesses on Android. 

       

      Thus, the build scripts should be adapted to use Gradle and use the full power of Android builds.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtandroidteam Qt Android Team
              assam Assam Boudjelthia
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes