As far as I understand this, Qt imposes no restriction. You can use whatever gl extension there is using direct opengl calls. You can make them available to you using GLee for example.
When speaking of support it basically means, what Qt itself uses, for internal handling in QPainter etc..
Sine 4.6, QPainter::beginNativePainting and QPainter::endNativePainting makes the intermixing a lot more reliable.
{
painter->beginNativePainting();
if (_RenderRequired) Render(scene());
glMultMatrixf(GetItemTransformation());
glCallList(displaylist);
painter->endNativePainting();
}
void CGL3dRenderedItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
painter->beginNativePainting();
if (_RenderRequired) Render(scene());
glMultMatrixf(GetItemTransformation());
glCallList(displaylist);
painter->endNativePainting();
}
To copy to clipboard, switch view to plain text mode
HIH
Johannes
Bookmarks