QT Quick is an advanced user interface technology provided by QT that makes it easy to create a smooth user interface for mobile and embedded devices. On Android devices, the Qt Quick app uses OpenGL ES by default, rendering is highly efficient, and you can use it to create very cool, very attractive interfaces.
The Qt Quick module is the standard library for developing QML applications, providing everything you need to create a user interface using QML, including visualization types, interaction types, animations, models and views, particle effects and shading effects, and more.
Qt Quick provides two sets of APIs:
- The QML API, which provides the type of QML required to create a user interface using the QML language.
- C + + API for developers to extend QML applications using C + +.
Qt Quick contains the following topics:
- A visual Canvas
- User input
- Element positioning and layout
- States, transitions, and animations
- Data models, views, and data storage
- Particle and graphic effects
- Convenient type
To use Qt Quick, you must know how to write the QML app using the QML language. QML is an extension of JavaScript and is a descriptive language used to describe the user interface based on the Qt object system. QML provides a highly readable, declarative, class-Json syntax that supports JavaScript expressions that combine dynamic property bindings.
Before introducing Qt Quick, let's introduce QML's syntax and learn how to write QML files.