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

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

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.10
    • None
    • Build System
    • None
    • Android
    • 2025wk06s1QtforAndroid, 2025wk18s1QtforAndroid, 2025wk26s2QtforAndroid, 2025wk36s2QtforAndroid

      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.

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

            qtandroidteam Qt Android Team
            assam Assam Boudjelthia
            Bruno Vunderl Bruno Vunderl
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes