Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED] QtQuick 2 offscreen rendering - no Camera issue
Qt 6.11 is out! See what's new in the release blog

[SOLVED] QtQuick 2 offscreen rendering - no Camera issue

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 801 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Talei
    wrote on last edited by
    #1

    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.

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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved