Qt has long provided some support for multimedia on the platforms it supports in C++ through the inclusion of its Phonon library. In Qt 5.0 and beyond, Qt Quick provides several objects to interact with the native support provided by Qt and the underlying platform that Qt provides. Using these QML components, you can do the following:
- Play sound clips and short sound effects in the background
- Play video content
- Display the camera viewfinder
- Capture camera content from the camera
What's actually supported by Qt depends on the target platform; for example, if the hardware doesn't have a camera, you can't display a camera viewfinder or take pictures. In practice, the level of support varies further; for example, as I write this, multimedia support on Windows is very poor. Moreover, the actual format of the audio and video that Qt can...