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

Qt6MultimediaConfig.cmake fails due to missing FFmpeg

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.0 Beta3, 6.9.0 FF
    • 6.8.0 Beta1, 6.8.0 Beta2, 6.8.0 Beta3
    • Multimedia
    • None
    • MacOS 14.4.1 (Apple Silicon); Xcode 15.3; Clang 15.0.0; Qt Creator 12.0.2.
    • iOS/tvOS/watchOS
    • 2bfd6c90e (dev), c3c80ac2e (6.8)
    • Multimedia wk 29-30, Multimedia wk 31-32

    Description

      In Qt Creator, on initial configuration (or "Re-configure with Initial Parameters"), I get the output:

      [cmake] -- Found AVFoundation: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/System/Library/Frameworks/AVFoundation.framework
      [cmake] -- Checking for module 'libavcodec'
      [cmake] --   Found libavcodec, version 58.134.100
      [cmake] -- Checking for module 'libavformat'
      [cmake] --   Found libavformat, version 58.76.100
      [cmake] -- Checking for module 'libavutil'
      [cmake] --   Found libavutil, version 56.70.100
      [cmake] -- Checking for module 'libswresample'
      [cmake] --   Found libswresample, version 3.9.100
      [cmake] -- Checking for module 'libswscale'
      [cmake] --   Found libswscale, version 5.9.100
      [cmake] -- FFmpeg shared libs: 
      [cmake] -- FFmpeg stubs: 
      [cmake] -- Could NOT find FFmpeg (missing: FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARY AVCODEC_INCLUDE_DIR AVFORMAT_LIBRARY AVFORMAT_INCLUDE_DIR AVUTIL_LIBRARY AVUTIL_INCLUDE_DIR SWRESAMPLE_LIBRARY SWRESAMPLE_INCLUDE_DIR SWSCALE_LIBRARY SWSCALE_INCLUDE_DIR) 
      [cmake] CMake Warning at /Users/paul.masristone/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
      [cmake]   Found package configuration file:
      [cmake] 
      [cmake]     /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6Multimedia/Qt6MultimediaConfig.cmake
      [cmake] 
      [cmake]   but it set Qt6Multimedia_FOUND to FALSE so package "Qt6Multimedia" is
      [cmake]   considered to be NOT FOUND.  Reason given by package:
      [cmake] 
      [cmake]   Qt6Multimedia could not be found because dependency FFmpeg could not be
      [cmake]   found.
      [cmake] 
      [cmake] Call Stack (most recent call first):
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6MultimediaQuickPrivate/Qt6MultimediaQuickPrivateDependencies.cmake:43 (_qt_internal_find_qt_dependencies)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6MultimediaQuickPrivate/Qt6MultimediaQuickPrivateConfig.cmake:43 (include)
      [cmake]   /Users/paul.masristone/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6Qml/QmlPlugins/Qt6quickmultimediaDependencies.cmake:18 (_qt_internal_find_qt_dependencies)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6Qml/QmlPlugins/Qt6quickmultimediaConfig.cmake:51 (include)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6Qml/Qt6QmlPlugins.cmake:47 (include)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:138 (include)
      [cmake]   /Users/paul.masristone/Qt/6.8.0/ios/lib/cmake/Qt6/Qt6Config.cmake:178 (find_package)
      [cmake]   CMakeLists.txt:53 (find_package)
      
      

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            paulmasri Paul
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes