Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 917 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 917 Bytes

QtOpenGL

Overview

Minimalist project using CMake, Qt and OpenGL to load and present a 3D object.

Author: Eberty Alves da Silva, eberty.silva@hotmail.com

Keywords: CMake, Qt and OpenGL.

 

Install dependencies

sudo apt install libgl1-mesa-glx libassimp-dev qtbase5-dev qt5-default

Building with CMake

git clone https://github.com/Eberty/QtOpenGL.git
cd QtOpenGL/
mkdir build && cd build
cmake ..
make -j$(nproc)

Building with Qt (.pro file)

git clone https://github.com/Eberty/QtOpenGL.git
cd QtOpenGL/
qmake qt_opengl.pro
make -j$(nproc)

Run C++ program

./qt_opengl

You can extract and use the .obj files in this compressed file: tex-models.zip

Eberty_QtOpenGL.mp4