[Qt-interest] When OpenGL Initialization happens? (QGraphicsScene - OpenGL glBegin/glEnd)
fungos
fungos at gmail.com
Wed Apr 15 04:33:07 CEST 2009
I was doing some tests with opengl in both Qt and Win32 and then I
found my problem. The problem is that opengl context is not
initialized when I try to use it inside Qt (by initializing my
library).
My question now is, when opengl initialization will happen in Qt? Just
when I try to use my opengk QGraphicsScene inside a QGraphicsView? Is
there a way to initialize opengl context with QApplication
initialization?
Attached are two samples using opengl, TestGL is the Qt test (using
QtCreator) and TestGL2 is the Win32 test (using Code::Blocks).
Thank you
--
Animal Frontline Liberation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenGL.rar
Type: application/octet-stream
Size: 4787 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090414/758ebd6e/attachment.obj
More information about the Qt-interest-old
mailing list