Auxiliary function which embeds FFmpeg binaries in iOS app bundle.
This command was introduced in Qt 6.8.
Note: This command is in technology preview and may change in future releases.
qt_add_ios_ffmpeg_libraries(target)
If versionless commands are disabled, use qt6_add_ios_ffmpeg_libraries() instead. It supports the same set of arguments as this command.
FFmpeg binaries from the online installer must be embedded into the application's bundle. To embed FFmpeg binaries, you can add the qt_add_ios_ffmpeg_libraries command to the app's CMakeLists.txt file.
This command will set several properties for the application target:
If code-signing is not required, you can use the QT_NO_FFMPEG_XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY variable before the command qt_add_ios_ffmpeg_libraries:
set(QT_NO_FFMPEG_XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY ON)
Note: qt_add_ios_ffmpeg_libraries requires CMake 3.28 or later.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qt-add-ios-ffmpeg-libraries.html