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

Qt Gradle Plugin does not build a multiabi AAR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • QtGP 1.0
    • QtGP: General
    • Android
    • fd055c469 (1.0), 3abfef216 (dev)

    Description

      Steps to reproduce:

      1. Create new Android project
      2. Add Qt Gradle Plugin to the project
      3. Use /foobar/Qt/6.8.0 as qtPath
      4. Select a QML project as qtProjectPath
      5. Build and deploy the app to emulator (x86_64)
      6. App crashes with > FATAL EXCEPTION: qtMainLoopThread
        Process: com.example.qtquickview_java, PID: 20247

      More investigations:

      The build folder for the Qt project is under build/qt_generated. The target of the project is aar, so the output should be an .aar file. The AAR files should include app library (.so) and all other Qt libraries from all installed ABIs. But it only include arm64_v8a libraries.

      It seems that QT_ANDROID_BUILD_ALL_ABIS=ON is not properly passed during cmake config.

       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes