O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Previewing QML code

Being an interpreted language, QML code allows rapid prototyping. Qt Creator offers a few facilities to assist with the process. Also, a few extra tools exist which allow live previews of your file.

At the time of writing, QmlLive (https://doc.qt.io/QtQmlLive/index.html) has been included into Qt's official repositories—the source code can be downloaded from there (http://code.qt.io/cgit/qt-apps/qmllive.git). It is possible that at some point, this very useful tool will also be incorporated into Qt Creator. Other tools which offer live coding are Terrarium (http://www.terrariumapp.com/) and DQML (https://github.com/CrimsonAS/dqml).

One tool that I find particularly useful is the qmlscene command-line tool, which is part ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required