Skip to content

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LearnOpenGL-Qt

GitHub actions

A Qt-based implementation of the examples from the learnopengl.com website.

The original examples from the website can be found here.

Building From Source

Install Qt

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 requires Bash-like Shell.

Ubuntu / Debian

$ sudo apt install qt5-default

macOS

Qt is available in Brew or macports.

$ brew install qt

or

$ sudo port install qt6

Windows

Use the online installer from the Qt website

Install Qbs

Ubuntu / Debian

$ sudo apt install qbs

macOS

Qbs is available in Brew or macports.

$ brew install qbs

or

$ sudo port install qbs

Windows

Qbs is available in Chocolatey

$ choco install qbs

Configuring Qbs

$ qbs setup-toolchains --detect
$ qbs setup-qt $(which qmake) qt
$ qbs config defaultProfile qt

Building with Qbs

From the source directory, run:

$ qbs resolve
$ qbs build

Using IDE

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.

About

A Qt-based implementation of the LearnOpenGL examples

Topics

Resources

Stars

35 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages