Getting Started with OpenGL 4 with QT
-
Hello,
I am getting started into developing a graphics framework using OpenGL 4, glew and Qt.
I am fairly new to OpenGL and Qt and so i have been relying on articles like the ones in RasterTek and the Qt forums.I want to use Qt for the UI and window portion of the framework and i would like to handle everything on OpenGL via an API class that I created. So far the articles on Qt uses the Qt OpenGL functions to initialize OpenGL and I cannot find any post on the qt forums regarding this issue.
Does anybody have any advice on this? Thanks in advance
-
Hi and welcome to devnet,
AFAIK, nothing forbids you to handle it yourself. Have a look at e.g. QOpenGLWidget (or it's ancestor QGLWidget) You'll see that the code samples use raw OpenGL calls
Hope it helps
-
Hi,
Heard this "youtube playlist":https://www.youtube.com/playlist?list=PLRwVmtr-pp04XomGtm-abzb-2M1xszjFx is good on opengl and Qt. It's about developing a game engine and it uses Qt for user interface .Hope this helps.
-
I have written a minimalistic 3D engine with Qt and OpenGL here:
https://github.com/cybercatalyst/glee3dAt some point this thing grew to big and I didn't manage to get it working with OpenGL ES in a reasonable time. Nevertheless, you can get some insights from it, or you can jump right into the project with me.
-
Cool! I'll go have a look at the stuff that you guys have posted. Thanks