
How to integrate C++ and QML? Registering C++ class as a singleton to QML
In our previous post about integrating C++ and QML we have explained why it is important to integrate C++ and QML and covered the basics of this mechanism. In this article we will go into more details and discuss a specific real-life example of integrating elements which can be instantiated one-time only (aka. singletons).