Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-172

Switching between single-abi to multi-abi, fails with remaining a single-abi output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • QtGP 1.0
    • QtGP: General
    • Linux/Wayland

      How to reproduce:

      1. Open a qtquickview example in Android Studio
      2. Add qtKitDir (pointing to a Qt4A kit) to QtBuild{} in build.gradle of the app
      3. Build the project -> The output APK, now has jnilibs of the qtKitDir
      4. Comment/Remove the qtKitDir line from QtBuild{}
      5. Build the project 

      Expected result:

      The output APK should now have the multi-abi jni libs

      Actual result:

      QtGP still builds the single-abi version, so the APK lacks libs from other ABIs.

      Note1: I checked the app/build/qt_generated and the AAR file is single ABI although it should be multi-abi. 

      Note2: Android Studio rebuild, creates multi-abi APK.
      Note3: Removing qt_generated & Build, also creates multi-abi APK.

       

        For Gerrit Dashboard: QTTA-172
        # Subject Branch Project Status CR V

            teko Tero Koponen
            soarmin Soheil Armin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes