[Interest] QML and OpenGL conflicts
Kai.Koehne at theqtcompany.com
Thu Jun 4 14:40:32 CEST 2015
> -----Original Message-----
> From: Marc Gilleron [mailto:marc.gilleron at gmail.com]
> Sent: Thursday, June 04, 2015 2:32 PM
> To: Koehne Kai
> Cc: interest at qt-project.org
> Subject: Re: [Interest] QML and OpenGL conflicts
> I'm not sure where to set it, do you mean QSG_RENDER_LOOP is really an
> environment variable like PATH on Windows? Oo
Yes, see also http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html .
> As for QQUickFrameBufferObject... I'm not sure how it will work.
> Our application creates its own context and has nothing to do with Qt in the
> first place. Because of its nature, all we can get from it is a native window
> Also, it performs OpenGL calls without bounds: they can happen not only in
> our render() operation, because it's a pretty big project, other parts use
> resources that implicitely get OpenGL called, and the main loop is
So maybe you want to turn it around, and explicitly control the scene graph loop via QQuickRenderControl (see also above link).
PS: I don't have own experience which such integrations, just commenting from a high-level perspective ...
More information about the Interest