# Offscreen rendering in QtQuick application

**URL:** https://discourse.vtk.org/t/offscreen-rendering-in-qtquick-application/14120
**Category:** Development
**Created:** [June 26, 2024, 3:32pm UTC](https://discourse.vtk.org/t/offscreen-rendering-in-qtquick-application/14120 "2024-06-26T15:32:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![m-diers](https://discourse.vtk.org/user_avatar/discourse.vtk.org/m-diers/32/9017_2.png) [@m-diers](https://discourse.vtk.org/u/m-diers)
#### Post date: [June 26, 2024, 3:32pm UTC](https://discourse.vtk.org/t/offscreen-rendering-in-qtquick-application/14120/1 "2024-06-26T15:32:36Z")

</div>

Hello,  
I have a problem adapting an application under linux to qtquick with vtk offscreen rendering to generate graphics in png format.  
The rendering should not work visually via a QVtk element, but completely detached from qt in the background. I have already tried a lot, but I am completely stumped at the moment. Unfortunately I can’t find a suitable example. My current status is that I was able to fix all crashes, etc. but the image only consists of a very grayish noise. I would be happy if someone could take care of my problem. I am not submitting existing code for the time being, but would like to create a solved example with which I can proceed. Perhaps someone already has a suitable example?
