Qt 5.11 | Qt Widgets | Qt Widgets Examples | Movie Example

Qt 5.11.3 Reference Documentation

# Movie Example

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

QMovie is mostly useful if one wants to play a simple animation without the added complexity of a multimedia framework to install and deploy.

Files:

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

Images:

- widgets/movie/animation.gif