summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2024-02-14 23:50:46 +0000
committerGitHub <noreply@github.com>2024-02-14 23:50:46 +0000
commitffd3d671a7c67a805acb9539ac675ced2f7e31e8 (patch)
tree4ce65a6a46a31ce77251dc3b46bab07a8933adf3
parentFix some top bar sizing issues (diff)
parentAdd Build Instructions for QT6 version on Debian Trixie (diff)
downloadnheko-ffd3d671a7c67a805acb9539ac675ced2f7e31e8.tar.xz
Merge pull request #1679 from enigma9o7/master
Add Build Instructions for QT6 version on Debian Trixie
-rw-r--r--README.md18
1 files changed, 16 insertions, 2 deletions
diff --git a/README.md b/README.md

index a493f906..a747295b 100644 --- a/README.md +++ b/README.md
@@ -316,8 +316,22 @@ sudo pacman -S qt5-base \ qtkeychain-qt5 ``` -#### Debian 11+ / Ubuntu 22.04 -*Older OS versions require a newer version of Qt5 than offered in official repositories.* +#### Debian 13 [Testing/Sid] (Nheko QT6 Version) +*As of February 2024, Nheko from git master requires QT 6.5 whereas Trixie has 6.4.2, so you must enable Debian's [Experimental Repository](https://wiki.debian.org/DebianExperimental) to install newer QT6. This may not be necessary in the future and the `-t experimental` can be removed for the second set of build requirements.* + +```bash +# Install build requirements +sudo apt install -y cmake asciidoc-base libevent-dev libspdlog-dev libre2-dev liblmdb++-dev libcurl4-openssl-dev libssl-dev libolm-dev libcmark-dev nlohmann-json3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev libkdsingleapplication-qt6-dev +sudo apt install -y -t experimental qt6-base-dev qt6-tools-dev qt6-svg-dev qt6-multimedia-dev qt6-declarative-dev qtkeychain-qt6-dev qt6-base-private-dev qt6-declarative-private-dev +# Clone nheko repository from github +sudo apt install -y git +git clone https://github.com/Nheko-Reborn/nheko && cd nheko +# Build +cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DUSE_BUNDLED_COEURL=1 -DUSE_BUNDLED_MTXCLIENT=1 -DUSE_BUNDLED_LMDBXX=1 +cmake --build build +``` + +#### Debian 11-12 / Ubuntu 22.04 (Nheko QT5 11.3 Release Version) *Build requirements + qml modules needed at runtime (you may not need all of them, but the following seem to work according to reports):* ```bash sudo apt install --no-install-recommends g++ cmake make zlib1g-dev libssl-dev libolm-dev liblmdb-dev libcmark-dev nlohmann-json3-dev libspdlog-dev libevent-dev libcurl4-openssl-dev libre2-dev libxcb-ewmh-dev asciidoc-base \