Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.5, 6.7, 6.8
-
None
-
fc9a5806f (dev), 8e6a48a74 (6.8), aa71af4a1 (6.7), b5e5158f8 (tqtc/lts-6.5), fd98e607f (dev), e065fc7f0 (6.8)
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-126211 Multiple CMake warnings about missing 'pc' files on Windows
-
- Closed
-
-
QTBUG-130441 Configuring Qt Multimedia fails even if -no-feature-ffmpeg is specified
-
- Closed
-