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

Comparing C++ and QML APIs

Qt 3D is one of the few Qt sub-frameworks that provides C++ and QML APIs that are almost on-par, at least as long as you don't need to extend its behavior by, for example, implementing custom aspects.

In what follows, we will use the QML API, since QML should not be the most familiar beast for you just yet, and also because it allows rapid prototyping by writing substantially less code. Of course, these advantages come with a certain performance cost. You can explore both APIs by looking at the respective documentation (https://doc.qt.io/qt-5.9/qt3d-cpp.html, https://doc.qt.io/qt-5.9/qt3d-core-qmlmodule.html), as well as the parallel examples accessible from QtCreator (Welcome > Examples, then filter by qt3d).

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