Qt Multimedia on macOS and iOS

This page covers the availability of Qt Multimedia features on iOS and macOS.

Limitations

Since Qt Multimedia for iOS uses the camera and microphone, the Info.plist assigned to QMAKE_INFO_PLIST in the project file must contain the keys NSCameraUsageDescription and NSMicrophoneUsageDescription. Otherwise, the application will abort on startup. See Info.plist documentation from Apple for more information regarding this key.

Use of FFmpeg libraries on iOS

FFmpeg binaries from the online installer must be embedded into the application's bundle. To embed these libraries, you can add the qt6_add_ios_ffmpeg_libraries() command to the app's CMakeLists.txt file:

qt_add_ios_ffmpeg_libraries(mytarget)

Note: FFmpeg binaries from the online installer are built for arm64 so that they can pass validation with Apple Store Connect.

See also qt_add_ios_ffmpeg_libraries().

© 2024 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.