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

QtMultimedia fail to build with FFMpeg flag on for Qt 6.8.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.8.4
    • Multimedia
    • None
    • Linux/X11

    Description

      Running the following configure command in the RTA:

       

      cmake -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DINPUT_bundled_xcb_xinput=yes -DINPUT_doubleconversion=qt -DINPUT_harfbuzz=qt -DINPUT_headersclean=yes -DINPUT_libjpeg=qt -DINPUT_libpng=qt -DINPUT_libudev=no -DINPUT_pcre=qt -DOpenGL_GL_PREFERENCE=LEGACY -DQT_BUILD_EXAMPLES=FALSE -DQT_BUILD_TESTS=OFF -DFFMPEG_DIR=/usr/local/FFmpeg-n7.1.1 -DQT_DEPLOY_FFMPEG=TRUE -G Ninja /home/qt/RTA/src-6.8.4 -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.8.4/qtbase 

      makes configuration fail at the [QtMultimedia] configure phase:

       

       

      CMake Error at qtmultimedia/src/plugins/multimedia/ffmpeg/cmake/QtDeployFFmpeg.cmake:6 (set_target_properties):
      
        set_target_properties Can not find target to add properties to: FFmpeg
      
      Call Stack (most recent call first):
      
        qtmultimedia/src/plugins/multimedia/ffmpeg/cmake/QtDeployFFmpeg.cmake:67 (qt_internal_multimedia_set_ffmpeg_link_directory)
      
        qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeLists.txt:244 (qt_internal_multimedia_copy_or_install_ffmpeg) 

       

      This did not happen neither with 6.8.3 or the previous build of 6.8.4 (sha1: 400577359f10fb1fb6e84f3da9a4b6683adf4f20 or sha1: 36e41dfaf18202203c5625911ca641c2b9f7275e) with the same cmake command.

      removing /home/qt/RTA/src-6.8.4 -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.8.4/qtbase from the end of the cmake makes it go through with just lots of warnings, but not errors.

      Could be the cause of the issue, but as it was said it did not happen for previous sha1/releases with the same arguments.

       

       

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            sunmote Evgenii Kucheruk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes