2. Audio and Video

Qt 4 has always had the ability to play sounds from .wav files, and to show moving images from .gif and .mng files. Qt 4.4 introduced integration with the Phonon multimedia library. Phonon can play sound files (i.e., music), and video files (i.e., movies), so the integration considerably extends Qt’s multimedia capabilities.

Short sounds can provide useful aural cues to users, although they cannot be relied upon exclusively since some users have hearing impairments and others have their sound systems muted or turned off or don’t have sound output set up on their systems at all. Similarly, moving images can be used to provide reassurance that a process is still ...

Get Advanced Qt Programming: Creating Great Software with C++ and Qt 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.