Let's learn how to add animation to your Qt Quick application by following these steps:
- Once again, we will start everything from scratch. Therefore, create a new Qt Quick application – Empty project in Qt Creator and create the MainForm.ui.qml file.
- Open up MainForm.ui.qml and go to the Imports tab in the Library window and add a Qt Quick module called QtQuick.Controls to your project.
- After that, you will see a new category appear in the QML Types tab called Qt Quick – Controls, which contains many new widgets that can be placed on the canvas.
- Next, drag three button widgets to the canvas and set their height to 45. Then, go to the Layout tab on the Properties window and enable both the left and right anchors for all the ...