Skip to content

Build Instructions for Debian Family

Oséias Knevitz Rocha edited this page Feb 21, 2024 · 11 revisions

Dependencies

Install the base build dependencies first:

sudo apt-get install cmake extra-cmake-modules libarchive-dev libsqlite3-dev libxcb-keysyms1-dev ninja-build libxkbregistry-dev

For build against Qt 6 install the following packages:

sudo apt-get install libgl1-mesa-dev libqt6opengl6-dev qt6-base-private-dev qt6-webengine-dev qt6-webengine-dev-tools

Runtime dependency. If you don't have it you'll run into a Could not find QtWebEngineProcess error (confirmed on Ubuntu 22.04)

sudo apt-get install libqt6webenginecore6-bin

For Qt 5 the list is different:

sudo apt-get install libqt5x11extras5-dev qt5-default qtwebengine5-dev

Build

Run the following commands to configure and build:

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build

Installation

sudo cmake --install build

Post Installation

Reload desktop files for dash:// and dash-plugin:// URL handler support:

sudo update-desktop-database