An open API service indexing awesome lists of open source software.

https://github.com/mortennobel/qtopengl3.2core

An example of creating an OpenGL 3.2 core profile context using Qt 4.8 crossplatform
https://github.com/mortennobel/qtopengl3.2core

Last synced: 5 days ago
JSON representation

An example of creating an OpenGL 3.2 core profile context using Qt 4.8 crossplatform

Awesome Lists containing this project

README

        

QtOpenGL3.2Core
===============

An example of creating an OpenGL 3.2 core profile context using Qt 4.8/5.x crossplatform.

The project compiles under Qt 4.8.1 or later.

On Windows it requires GLEW (http://glew.sourceforge.net/) to access the OpenGL functions. You might need to update the GLEW path in the .pro file.

On Windows tested on Qt 4.8.1 using VS 2010.

On OS/X tested on Qt 4.8.1 - 5.0.0-beta2 using GCC. The OS/X workaround used is based on this thread ( https://qt-project.org/forums/viewthread/8047/ ). On Qt 5.0.0 or later the OpenGL workaround is disabled, since OpenGL 3.2 works out of the box.

Known issues:
OS/X: Both GL.h and GL3.h is included - this gives a compiler warning and also import the deprecated OpenGL functions.