otto
otto

Reputation: 343

custom rendering for qml element

is it possible to render your own graphics with your own context in qml? i found an example (\scenegraph\openglunderqml) which shows how to render your own graphics in qml, it simply uses the QQuickWindow::beforeRendering() signal and calls it's own paint function with it's own rendering method, but the thing is it is using the context that is provided by qml, my question is it possible to use your own context here?

Upvotes: 2

Views: 514

Answers (1)

Jay
Jay

Reputation: 14441

I don't believe you can mix QWidget with QML easily either. I was looking at this too and there are claims you can create your own qml item and do all your own rendering. This link might help too. It shows OpenGL Under QML.

Upvotes: 1

Related Questions