An Qt-based implementation of the examples from the learnopengl.com website.
The original examples from the website can be found here.
You can install Qt from the online installer from the Qt website.
Alternatively, you can use the install-qt.sh
script from the scripts
directory.
$ ./scripts/install-qt.sh -d $HOME/Qt --version 6.7.0 --target desktop qtbase
This script requqres Bash-like Shell.
$ sudo apt install qt5-default
Qt is available in Brew or macports.
$ brew install qt
or
$ sudo port install qt6
Use the online installer from the Qt website
$ sudo apt install qbs
Qbs is available in Brew or macports.
$ brew install qbs
or
$ sudo port install qbs
Qbs is available in Chocolatey
$ choco install qbs
$ qbs setup-toolchains --detect
$ qbs setup-qt $(which qmake) qt
$ qbs config defaultProfile qt
From the source directory, run:
$ qbs resolve
$ qbs build
Or you can simply open the project.qbs
file in QtCreator or the source directory in VScode.
For VScode you might want to use the
Qbs plugin.