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

Qt for Android build with Gradle (pre-requisite of Android X)

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • 6.10
    • None
    • Build System
    • None
    • Android
    • 2025S1FOQtforAndroid

    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
              Bruno Vunderl Bruno Vunderl
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes