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

CMake deploy api and QtMultimedia backend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.0, 6.7.0
    • Build System: CMake
    • None
    • Linux/X11

    Description

      I am using the cmake-deployment-api to deploy a qt application.

      The application built by the machine works ok.

      But when using the application deployed by the cmake API, the application returns

      could not load multimedia backend ""
      QtMultimedia is not currently supported on this platform or compiler. 

      After some [discussion](https://forum.qt.io/post/774004) on the forum, I have realized that

      libffmpegmediaplugin.so  libgstreamermediaplugin.so 

      are not deployed by the API in Linux.

       

      To recreate the issue I have created a [repo](https://github.com/EddyTheCo/BugReportMultimedia/tree/v0.0.1).

      On the [releases] (https://github.com/EddyTheCo/BugReportMultimedia/releases/tag/v0.0.1)

      (using Qt 6.6.0) one can see that the [backend](https://doc.qt.io/qt-6/qtmultimedia-index.html#backends) libraries are not deployed for Linux.

      Also Using Qt 6.7.0 on linux the backend libraries are not deployed for Linux.

      If I add in the root CMakeLists.txt

      find_package(Qt6 REQUIRED COMPONENTS Core Gui Quick Qml Multimedia)
      

      The multimedia backends are deployed and the application works ok.
      But ideally, my application does not have to know about the dependencies of one of its libraries.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            mesrine Eduardo Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes