QT_ADD_IO_FFMPEG_LIBRARIES
iOS 앱 번들에 FFmpeg 바이너리를 임베드하는 보조 함수.
이 명령은 Qt 6.8에 도입되었습니다.
참고: 이 명령은 기술 프리뷰 버전이며 향후 릴리스에서 변경될 수 있습니다.
개요
qt_add_ios_ffmpeg_libraries(target)
버전 없는 명령이 비활성화되어 있으면 qt6_add_ios_ffmpeg_libraries()
을 대신 사용합니다. 이 명령과 동일한 인수 집합을 지원합니다.
설명
온라인 인스톨러의 FFmpeg 바이너리를 애플리케이션의 번들에 임베드해야 합니다. FFmpeg 바이너리를 임베드하려면 앱의 CMakeLists.txt 파일에 qt_add_ios_ffmpeg_libraries
명령을 추가하면 됩니다.
이 명령은 애플리케이션 대상에 대한 여러 속성을 설정합니다:
- XCODE_EMBED_FRAMEWORKS, XCode에 대한 정보(임베드할 FFmpeg 바이너리)를 추가합니다.
- 임베드된 FFmpeg 바이너리에 코드 서명을 하려면 XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY 을 ON으로 설정합니다.
- 번들 내에 임베디드 FFmpeg 라이브러리의 위치를 추가하려면 XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS를 설정합니다.
코드 서명이 필요하지 않은 경우, qt_add_ios_ffmpeg_libraries
명령 앞에 QT_NO_FFMPEG_XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY 변수를 사용할 수 있습니다:
set(QT_NO_FFMPEG_XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY ON)
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.