Qt Multimedia on macOS and iOS¶
Platform notes for 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()