Package Details: qt6-base-headless 6.6.2-1

Git Clone URL: https://aur.archlinux.org/qt6-base-headless.git (read-only, click to copy)
Package Base: qt6-base-headless
Description: A cross-platform application and UI framework - headless build, no QtGui or QtWidgets
Upstream URL: https://www.qt.io
Licenses: custom, GPL3, LGPL3, FDL
Groups: qt6
Conflicts: qt6-base
Provides: qt6-base
Submitter: buzo
Maintainer: buzo
Last Packager: buzo
Votes: 4
Popularity: 0.000022
First Submitted: 2020-12-22 11:23 (UTC)
Last Updated: 2024-03-07 16:48 (UTC)

Required by (853)

Sources (3)

Latest Comments

buzo commented on 2022-06-21 10:00 (UTC)

Fixed. For some strange reason it did not build without explicitly enabling or disabling QT_FEATURE_zstd.

katt commented on 2022-06-17 16:04 (UTC) (edited on 2022-06-17 16:15 (UTC) by katt)

Could this be compiled with zstd back on? Can't use it with qbittorrent-nox: qbittorrent-nox[1506166]: /usr/bin/qbittorrent-nox: symbol lookup error: /usr/bin/qbittorrent-nox: undefined symbol: qt_resourceFeatureZstd, version Qt_6

diff --git a/PKGBUILD b/PKGBUILD
index e6e2aed..ad42e36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@
 pkgname=qt6-base-headless
 _qtver=6.3.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL3 LGPL3 FDL custom)
 pkgdesc='A cross-platform application and UI framework - headless build, no QtGui or QtWidgets'
-depends=(sqlite double-conversion brotli libb2)
+depends=(sqlite double-conversion brotli libb2 zstd)
 makedepends=(cmake ninja mariadb-libs unixodbc postgresql xmlstarlet systemd)
 optdepends=('postgresql-libs: PostgreSQL driver'
             'mariadb-libs: MariaDB driver'
@@ -56,8 +56,7 @@ build() {
     -DQT_FEATURE_gui=OFF \
     -DQT_FEATURE_widgets=OFF \
     -DQT_FEATURE_freetype=OFF \
-    -DQT_FEATURE_harfbuzz=OFF \
-    -DQT_FEATURE_zstd=OFF
+    -DQT_FEATURE_harfbuzz=OFF

   cmake --build build
 }

This works for me but I'm not sure if it only needs to be makedepend or not, I'd rather not mess even further with mass-restarting qbittorrent.