Qt World Summit: Register Today!

[SOLVED] QtQuick 2 offscreen rendering - no Camera issue

  • Hello,
    First of all sorry if this is wrong place but this is in between c++ and qml so I decide to place it here.

    Issue: I want to render, using QQuickRenderControl, off-screen. I do load QML file etc. and everything works fine, I see rendered texture as QImage.
    Problem starts when Camera is placed on QML. Rendered image don't contains image from camera item. Everything else is on correct place.

    Any idea?

    Reason why I use this offscreen renderer is because QCamera (widget) don't work on Android. I have widget base project.

    Ok, it was mistake on my part with OpenGL code.
    Confirmation off-screen render correctly render Camera image.

Log in to reply