What is the preferred way to create and paint QML graphic objects in C++ ?
-
Hi,
Use the Scene Graph classes. http://qt-project.org/doc/qt-5/qtquick-visualcanvas-scenegraph.html
-
You can use either of them. QQuickItem uses the new Scene Graph type of rendering, while the QQuickPaintedItem uses the old QPainter. Performance of both are comparable.