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
-
For Gerrit Dashboard: QTBUG-129232 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
592990,2 | Improve error message when FFmpeg is not found | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
593062,4 | Fail CMake if FFMPEG_DIR is specified but FFmpeg is not found | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
593084,2 | Improve error message when FFmpeg is not found | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
593100,2 | Improve error message when FFmpeg is not found | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
593148,2 | Improve error message when FFmpeg is not found | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
594078,2 | Fail CMake if FFMPEG_DIR is specified but FFmpeg is not found | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
594177,1 | Fail CMake if FFMPEG_DIR is specified but FFmpeg is not found | 6.7 | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |