Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



15 Commits

Repository files navigation

Qt Creator As OpenGL Development Environment

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


  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
  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