/kit-opengl

OpenGL, FreeGLUT, GLFW, Glad, CMake, Qt Creator template.

Primary LanguageCMIT LicenseMIT

Qt Creator As OpenGL Development Environment

If you want to develop OpenGL application on Qt Creator (CMake), you can use this template.

Usage

  1. Install CMake : sudo apt-get install cmake
  2. Install Git : sudo apt-get install git
  3. Install GLFW, GLAD dependencies : sudo apt-get install xorg-dev
  4. Install GLEW dependencies : sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev
  5. Install FreeGLUT dependencies : sudo apt install libglu1-mesa-dev
  6. git clone git@github.com:furkantokac/kit-opengl.git
  7. Go to Qt Creator -> Open Project -> choose the CMakeLists.txt under opengl-dev-creator directory -> "Run" the project to test
  8. You can work on src folder. New files/folders will be automatically added to the project after you re-run the CMake. To re-run CMake, right click the project name on Qt Creator and click "Run CMake".

Supported Libs

  • GLFW
  • GLAD
  • GLEW
  • FreeGLUT