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

Fix misleading diagnostics in CMake output when FFmpeg is not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 6.5.8, 6.8.1, 6.9.0 FF
    • 6.5, 6.7, 6.8
    • Multimedia
    • None
    • fc9a5806f (dev), 8e6a48a74 (6.8), aa71af4a1 (6.7), b5e5158f8 (tqtc/lts-6.5), fd98e607f (dev), e065fc7f0 (6.8)

      Currently, if FFMPEG_DIR is not set correctly, CMake reports the following errors:

      -- [QtMultimedia] Could NOT find FFmpeg (missing: FFMPEG_LIBRARIES 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)
      

      This is misleading, and makes it harder than necessary to build Qt Multimedia against a custom FFmpeg build.

      It would be better to state something about that FFmpeg was not found, and that FFMPEG_DIR must point to a directory containing the FFmpeg include/lib directories.

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

            qtmultimediateam Qt Multimedia Team
            johanseg Jøger Hansegård
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: