[Development] QT5 OpenGL question

Jiergir Ogoerg f35f22fan at gmail.com
Fri Aug 2 02:16:57 CEST 2013


Hi,
I'm willing to switch to QT5 with GL,
afaik in Qt5 the GL functions are encapsulated into a class that extends
QAbstractOpenGLFunctions and you can't use the GL calls outside that class
unless you pass each time a reference to this class.

Why doesn't it publish the GL functions publicly (not inside a class
instance) like glew and other tools do?

I'm asking because I have a lib of mine that uses GL calls, what should I
do, pass an instance of OpenGLFunctions class to each method in the lib? -
that's cumbersome.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130802/03ae2496/attachment.html>


More information about the Development mailing list