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

FFmpeg not properly configured with multi-abi builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8.2, 6.9.0, 6.10
    • Build System: CMake
    • None
    • Windows building for Android multi-ABI
    • Android, Windows
    • 2025wk22s1-2QtforAndroid
    • Android

    Description

      When building a multi-abi APK in Windows, using CMake with:

      QT_ANDROID_ABIS "armeabi-v7a;arm64-v8a"
      

      Then the resulting APK is broken. In particular, when I browse the APK for resources.arsc (using Android Studio), I see there is an "array" block with the property "load_local_libs". Looking at the contents, I see that "libplugins_multimedia_ffmpegmediaplugin_arm64-v8a.so" is only present for one of the ABIs.

      The result is that you cannot use the camera on the secondary platform, i.e. if you built with arm64-v8a, then the camera will fail to load on armv7 devices. All other functionality seems to work though.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-136493
          # Subject Branch Project Status CR V

          Activity

            People

              semlanik Alexey Edelev
              justin.steventon Justin Steventon
              Qt Android Team Qt Android Team
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are 2 open Gerrit changes