Use c++ class as a Text element in QML

Printable View