A simple QT5 program that creates an OpenGL window and retreives the context
- OpenGL
- QT 5
- CMake
- A C/C++ compiler (e.g. gcc)
Change the context you want by modifying the properties of QSurfaceFormat
found in src/main.cpp
cd build
cmake ..
make
After it is complied, the executable is bin/profile-test