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

QtMultimedia plugins are not deployed to Android .apks

    XMLWordPrintable

Details

    • Android
    • 1087a60db (dev), a47b6c628 (6.7), 1e7adcc64 (dev), 0f60ba0da (6.7), 154703c1c (6.6), af4871f05 (6.6), de4c2a926 (tqtc/lts-6.5), 35d509b2e (tqtc/lts-6.5)

    Description

      QtMultimedia has two plugins:

      > pwd
      /Users/ollivuolteenaho/Qt/6.7.0/android_arm64_v8a/plugins/multimedia
      > ls
      libplugins_multimedia_androidmediaplugin_arm64-v8a.so
      libplugins_multimedia_ffmpegmediaplugin_arm64-v8a.so

      These are supposed to be deployed to Android APKs by androiddeployqt, but with the latest changes they are not being included and as a result:

      I QtCore  : Start
      I Qt      : qt started
      E QtLoader: Can't find '/data/app/~~BP-2NNvZm4m2IVkZ1rYkog==/org.qtproject.example.appbug_ffmpeg-0J2lpIOQwlGkF0Giukamxw==/lib/arm64/libplugins_multimedia_ffmpegmediaplugin_arm64-v8a.so'
      E QtLoader: Loading Qt native libraries failed 

      Minimal reproducable example included (it's just a QtC Qt Quick default template with import QtMultimedia added to Main.qml). You need Qt 6.7 beta 3 with Android and Qt Multimedia components, and an Android device or emulator to deploy to. Make, build, deploy -> should fail.

      semlanik, I'm guessing this is related to https://codereview.qt-project.org/c/qt/qtbase/+/530186?

       

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            olvuolte Olli Vuolteenaho
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: