Skip to main content

NEW -QtWS15 - The 8 mistakes of QtQuick newcomers, Luca Ottaviano, Develer Srl

Qt World Summit 2015, OCTOBER 5-7, BERLIN, GERMANY The 8 mistakes of QtQuick newcomers: QtQuick is a declarative language for programming fluid user interfaces and in a short time it has become the de-facto standard for UI programming. It builds on the solid base of Qt and it allows unprecedented speed of prototyping and development. The basis for such speed is to be looked for in the declarative nature of the QML language, a JSON’s superset that also allows Javascript code; the resulting code is easy to grasp, modify and extend. Given these characteristics, many newcomers are productive in just a few days; however, most of them are accustomed to imperative languages, so they have difficulties in completely understanding and embracing the declarative essence of QML and they usually have a hard time in shifting their way of thinking. In my career I’ve seen that some are puzzled by the fuzzy behavior of Javascript, some try to create deep hierarchies of Components that mimic C++ software, a few forget about animations, while others still try to manage memory by hand. In this presentation we will go through the most common pitfalls that newcomers are likely to experience and we’ll see some useful patterns that allow to elegantly deal with them. Video by Qt Company and greenwoodworx,