[Qt-interest] Problems using QGraphicsView with a QGLWidget - example fails to run
Mathias Gottschlag
mgottschlag at gmail.com
Sat Oct 30 18:24:02 CEST 2010
On 30.10.2010 12:35, Mathias Gottschlag wrote:
> On 30.10.2010 12:30, Mathias Gottschlag wrote:
>> I am trying Qt for a 3D game (with QML for the GUI) but at the moment
>> face problems even setting up a simple 3D window. Basically I
>> followed the instructions in
>> http://doc.trolltech.com/qq/qq26-openglcanvas.html but only got the
>> warning "OpenGLScene: drawBackground needs a QGLWidget to be set as
>> viewport on the graphics view".
>>
Turns out the check might just be wrong as if I remove the "return;"
there and continue with rendering even if the check fails, everything
seems to work.
Mathias
More information about the Qt-interest-old
mailing list