Introduction To Qtquick Applications And QML
Qt Quick is the umbrella term for the user interface technology used in Qt 5. Qt Quick itself is a collection of
several technologies:
• QML - Markup language for user interfaces
• JavaScript - The dynamic scripting language
• Qt C++ - The highly portable enhanced c++ library
Similar to HTML, QML is a markup language. It is composed of tags called elements in Qt Quick enclosed in
curly brackets Item {}. It was designed from the ground up for the creation of user interfaces, speed and easier
reading for developers. The user interface can be enhanced using JavaScript code. Qt Quick is easily extendable
with your own native functionality using Qt C++. In short the declarative UI is called the front-end and the native
parts are called the back-end. This allows you to separate the computing intensive and native operation of your
application from the user interface part.
In a typical project the front-end is developed in QML/JavaScript and the back-end code, which interfaces with
the system and does the heavy lifting is developed using Qt C++. This allows a natural split between the more
design oriented developers and the functional developers. Typically the back-end is tested using Qt own unit
testing framework and exported for the front-end developers to be used.