If you want to develop OpenGL application on Qt Creator (CMake), you can use this template.
- Install CMake :
sudo apt-get install cmake
- Install Git :
sudo apt-get install git
- Install GLFW, GLAD dependencies :
sudo apt-get install xorg-dev
- Install GLEW dependencies :
sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev
- Install FreeGLUT dependencies :
sudo apt install libglu1-mesa-dev
git clone git@github.com:furkantokac/kit-opengl.git
- Go to Qt Creator -> Open Project -> choose the CMakeLists.txt under opengl-dev-creator directory -> "Run" the project to test
- 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".
- GLFW
- GLAD
- GLEW
- FreeGLUT