-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This page provides information for building and using the QtglTF widget.
glTF™ (GL Transmission Format) is a specification for the transmission and loading of 3D scenes and models by applications.
- Khronos Web Site: https://www.khronos.org/gltf
- glTF 1.0 Specification: https://github.com/KhronosGroup/glTF/tree/main/specification/1.0
- glTF 2.0 Specification: https://github.com/KhronosGroup/glTF/tree/main/specification/2.0
- glTF 1.0/2.0 Sample Models: https://github.com/KhronosGroup/glTF-Sample-Models
- glTF 1.0/2.0 Sample Assets: https://github.com/KhronosGroup/glTF-Sample-Assets
These instructions are used to build QtglTF on an Ubuntu 22.04.3 LTS 64-bit platform.
Install the following packages:
$ sudo apt-get install build-essential libgl1-mesa-dev
There are two options for installing Qt5
- Install Qt using apt
- Build and install Qt from source code
To download the qt components using apt, do the following:
sudo apt install -y qtcreator qtbase5-dev qt5-qmake qttools5-dev cmake
The QtCreator installation does not install example code and documentation. So, do the following:
sudo apt-get install qtbase5-examples qtbase5-doc-html qt5-doc qt5-doc-html
Instead of using apt to install the Qt5 binaries, you can download and build the source from scratch.
Instructions for building and installing Qt 5.13.1 can be found the Building Qt 15.3.1 From Scratch wiki page.
Once Qt 5.13.1 is successfully installed, then QtCreator should be built and installed using instructions found on the Building QtCreator From Scratch wiki page.
Build instructions can be found at Build Instructions for Linux Platform