Building Tui Widgets

(You can skip this section if you are using a prebuild Tui Widgets library, e.g. from your linux distribution)

Prerequisites

You need a working C++17 compiler, meson, ninja and an installation of QtCore.

For example on debian:

apt install build-essential git meson ninja-build pkg-config qttools5-dev-tools qtbase5-dev

termpaint

You also need termpaint.

git clone https://github.com/termpaint/termpaint

cd termpaint
meson setup _build -Dprefix=$HOME/opt/tuiwidgets-prefix
meson compile -C _build
meson install -C _build

Tui Widgets

git clone https://github.com/tuiwidgets/tuiwidgets

cd tuiwidgets
PKG_CONFIG_PATH=$HOME/opt/tuiwidgets-prefix/lib/x86_64-linux-gnu/pkgconfig meson setup _build -Dprefix=$HOME/opt/tuiwidgets-prefix
meson compile -C _build
meson install -C _build