Please nominate your Qt Champions for 2021!

Using OpenGL 2.0+ on Linux with Qt

  • Hi everyone and happy holydays!

    I'm learning how to use GLSL, Vertex Buffer Objects and other non inmediate mode like stuff. I'm willing to use Linux and Qt for this, since I really like this framework. I've seen that Qt provides some classes to do this, but from what I've been reading, I think it handles things in OpenGL a little bit different. For example, in many OpenGL tutorials, there are explanations about how to use the GLEW library or X11 in order to use "advanced" stuff, they use the OS's local window api to build what It would be an OpenGL widget and work with it. But somehow none of the codes I've found works with Qt. (I'm using 5.2 by the way).

    I want to use Qt to manage window's events and things like that, but without having to use its own OpenGL classes since I'm just learning this and I don't think it would be a good idea to know about OpenGL only with Qt classes.

    Can anyone point me in the right direction please?

Log in to reply