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
- Host: GitHub
- URL: https://github.com/mortennobel/qtopengl3.2core
- Owner: mortennobel
- Created: 2012-11-22T14:26:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-10-05T12:11:27.000Z (over 9 years ago)
- Last Synced: 2025-04-24T00:04:31.637Z (5 days ago)
- Language: C++
- Size: 137 KB
- Stars: 14
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.