Re: [Development] QtQuick 2 offscreen rendering

2014-03-18 Thread Paul Olav Tvete
On Tuesday 18 March 2014 10:12:35 André Bergner wrote: > So what is the "official" way to render a QQuickView scene to an offscreen > target while keeping it "alive"? > > I remember talking to somebody at the last Qt dev days in Berlin. He was > suggesting some solution that should make this possi

[Development] QtQuick 2 offscreen rendering

2014-03-18 Thread André Bergner
Hi all, for a project we use QML/QtQuick2 to render two separate offscreen views for an application. We are currently still on Qt 5.1 and use a somehow hacky solution to accomplish that goal, which is we create a QWindow and set it immediately after its creation to hidden. We add two QQuickViews a