Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Movie Example

Files:

- widgets/movie/movieplayer.cpp
- widgets/movie/movieplayer.h
- widgets/movie/main.cpp
- widgets/movie/movie.pro

The Movie example demonstrates how to use QMovie and QLabel to display animations.

Now that Qt comes with the Phonon multimedia framework, QMovie is mostly useful if one wants to play a simple animation without the added complexity of a multimedia framework to install and deploy.