What is the preferred way to create and paint QML graphic objects in C++ ?
QML and Qt Quick
4
Posts
3
Posters
1.2k
Views
1
Watching
-
wrote on 19 Feb 2014, 12:34 last edited by
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
-
wrote on 20 Feb 2014, 06:29 last edited by
Thanks.
Should I use QQuickItem or QQuickPaintedItem ? -
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.
1/4