While QML has a lot of built-in functionality available, it will almost never be enough. When you're developing a real application, it always needs some unique functionality that is not available in QML modules provided by Qt. The C++ Qt classes are much more powerful, and third-party C++ libraries are also always an option. However, the C++ world is separated from our QML application by the restrictions of QML engine. Let's break that boundary right away.
Qt Quick and C++
Accessing C++ objects from QML
Let's say that we want to perform a heavy calculation in C++ and access it from our QML calculator. We will choose factorial for this project.
The QML engine is really fast, so you can most likely calculate factorials...