Qt Multimedia macOSとiOS
このページでは、iOSとmacOSでのQt Multimedia 機能の利用可能性について説明します。
制限事項
iOS 版Qt Multimedia はカメラとマイクを使用するため、プロジェクト・ファイルの QMAKE_INFO_PLIST に割り当てられたInfo.plist
にはNSCameraUsageDescription
とNSMicrophoneUsageDescription
のキーが含まれている必要があります。そうでない場合、アプリケーションは起動時にアボートします。このキーの詳細については、AppleのInfo.plistドキュメントを参照してください。
iOSでのFFmpegライブラリの使用
オンラインインストーラからの FFmpeg バイナリは、アプリケーションのバンドルに埋め込む必要があります。これらのライブラリを埋め込むには、アプリの CMakeLists.txt ファイルにqt6_add_ios_ffmpeg_libraries()コマンドを追加します:
qt_add_ios_ffmpeg_libraries(mytarget)
注意: オンラインインストーラの FFmpeg バイナリは、Apple Store Connect での検証をパスできるように arm64 用にビルドされています。
qt_add_ios_ffmpeg_libraries()も参照してください 。
© 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.