Skip to content

ABBAPOH/learnopengl-qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LearnOpenGL-Qt

GitHub actions

An 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 requqres 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

Buiding 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published