Minimalist project using CMake, Qt and OpenGL to load and present a 3D object.
Author: Eberty Alves da Silva, [email protected]
Keywords: CMake, Qt and OpenGL.
sudo apt install libgl1-mesa-glx libassimp-dev qtbase5-dev qt5-default
git clone https://github.com/Eberty/QtOpenGL.git
cd QtOpenGL/
mkdir build && cd build
cmake ..
make -j$(nproc)
git clone https://github.com/Eberty/QtOpenGL.git
cd QtOpenGL/
qmake qt_opengl.pro
make -j$(nproc)
./qt_opengl
You can extract and use the .obj files in this compressed file: tex-models.zip