Once on the sprites was written three lessons by
them to their practical application in Qt in
article, I believe that we can not ignore the use of sprites in QML Qt.
Sprites are used in QML is even easier than in Qt / C ++, QML because there are classes that are specifically designed to work with sprites: Sprite and AnimatedSprite.
The project structure to work with Sprite and AnimatedSprite
The project is created as a standard project QtQuick with controls, and then I throw out all superfluous Tipo menyubara and buttons. I am leaving only that we will use for demonstration.
- the main project file that runs qml file;
- application window;
- form to work with the designer;
- the image of our sprite.