Package Details: qt5-base-headless 5.15.4+kde+r144-1

Git Clone URL: (read-only, click to copy)
Package Base: qt5-base-headless
Description: A cross-platform application and UI framework - headless build, no QtGui or QtWidgets
Upstream URL:
Licenses: custom, GPL3, LGPL3, FDL
Conflicts: qt5-base, qtchooser
Provides: qt5-base
Submitter: K900
Maintainer: buzo
Last Packager: buzo
Votes: 5
Popularity: 0.92
First Submitted: 2018-11-02 11:02 (UTC)
Last Updated: 2022-05-19 14:26 (UTC)

Required by (2674)

Sources (3)

Latest Comments

buzo commented on 2021-06-14 17:29 (UTC)

katt: Indeed, done. This should be fixed upstream.

katt commented on 2021-06-02 22:39 (UTC)

Fails to build with LTO, could options=(!lto) be added?

aphirst commented on 2021-04-10 14:28 (UTC)

If I can work out why the build fails, I will of course share the fix.

buzo commented on 2021-04-10 14:27 (UTC)

Sorry, aphirst, I don't have an ARM build setup available. If you tell me what needs to be changed, I'll happily patch the build.

aphirst commented on 2021-04-07 08:05 (UTC) (edited on 2021-04-07 08:06 (UTC) by aphirst)

I tried to build this on two separate headless archlinux-arm boxes (one aarch64, one armv7h) and I got the same build error in both cases. It seems to occur during the "build test" stage after the main build.

ERROR: Feature 'reduce_relocations' was enabled, but the pre-condition '!config.win32 && tests.reduce_relocations' failed.
==> ERROR: A failure occurred in build().

buzo commented on 2020-12-22 11:26 (UTC)

hussam: Done.

hussam commented on 2020-12-19 16:38 (UTC)

Can you please make a similar qt6-base-headless package?

buzo commented on 2020-10-01 20:13 (UTC)

katt: I've added shared-mime-info as an optional dependency, since I don't need it.

K900 commented on 2020-08-23 18:45 (UTC)

@buzo picked the package up, so I'm going to let them make the change.

katt commented on 2020-08-23 18:42 (UTC)

Can this depend on shared-mime-info so it works with qbittorrent (and possibly others)

K900 commented on 2020-08-03 11:39 (UTC)

I'm dropping this since I don't really have a use for it anymore :(

K900 commented on 2020-06-02 17:59 (UTC)

Huh. That's interesting. I'll add it with the next update then.

buzo commented on 2020-06-02 17:03 (UTC)

K900: Nope. Only base-devel is assumed to be already installed when building. See the Wiki and this bug report.

K900 commented on 2020-06-02 08:30 (UTC)

systemd is part of base, make sure you're installing it in your chroot.

buzo commented on 2020-05-29 18:17 (UTC)

5.15.0 does not build in a clean chroot here. Either add 'systemd' to makedepends (tested), or maybe remove -journald from configure (not sure and untested).

K900 commented on 2020-05-05 19:58 (UTC)

I'll bump it once the rebuilds make their way to stable.

buzo commented on 2020-05-05 18:26 (UTC)

Thanks, K900. Could you please bump the pkgrel in such a case?

K900 commented on 2020-04-30 13:04 (UTC)

Note that icu 67 (currently in [testing]) requires a rebuild.

K900 commented on 2019-02-04 11:28 (UTC)

Updated to 5.12.1 now

buzo commented on 2018-12-20 16:48 (UTC)

Thanks for fixing! Finally I was able to build quassel-core-small using this package as dependency.

K900 commented on 2018-12-20 10:18 (UTC)

Updated to 5.12.0, also fixed the dependencies - thanks @buzo!

buzo commented on 2018-12-05 16:36 (UTC)

The build fails with -system-harfbuzz: ERROR: Feature 'system-harfbuzz' was enabled, but the pre-condition 'features.harfbuzz && libs.harfbuzz' failed.

Also: ERROR: Feature 'sql-ibase' was enabled, but the pre-condition 'libs.ibase' failed.

Accessibility and FreeType are set to “yes” in the Configure summary shown during the build, so I disabled them explicitely. dbus, icu and pcre2 are due to errors from the namcap check. There is even another namcap error regarding glib2.

qt5-base-headless E: Dependency glib2 detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])
qt5-base-headless E: Dependency icu detected and not included (libraries ['usr/lib/', 'usr/lib/'] needed in files ['usr/lib/'])
qt5-base-headless E: Dependency dbus detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])
qt5-base-headless E: Dependency pcre2 detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])

K900 commented on 2018-12-05 15:38 (UTC)

-no-accessibility, -no-freetype and -no-harfbuzz shouldn't be needed IIRC - the build system should disable them automatically since we're not building the top level modules. Also, are you sure dbus/icu and friends should be in optdepends and not makedepends?

buzo commented on 2018-12-05 15:31 (UTC)

This package does not build in a clean chroot, and namcap has a few complaints. Suggested fix:

diff --git a/PKGBUILD b/PKGBUILD
index [`26ae850`]( 100644
@@ -15,8 +15,9 @@ makedepends=('libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs')
 optdepends=('postgresql-libs: PostgreSQL driver'
             'libmariadbclient: MariaDB driver'
             'unixodbc: ODBC driver'
-            'libfbclient: Firebird/iBase driver'
-            'freetds: MS SQL driver'
+            'dbus: message bus system'
+            'icu: International Components for Unicode library'
+            'pcre2: Perl 5-style regular expressions'
             'gtk3: GTK platform plugin')
 conflicts=('qtchooser' 'qt5-base')
@@ -45,20 +46,22 @@ build() {
     -datadir /usr/share/qt \
     -sysconfdir /etc/xdg \
     -examplesdir /usr/share/doc/qt/examples \
-    -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+    -sql-{psql,mysql,sqlite,odbc} \
     -system-sqlite \
     -openssl-linked \
     -nomake examples \
     -no-rpath \
     -optimized-qmake \
     -dbus-linked \
-    -system-harfbuzz \
     -journald \
     -no-use-gold-linker \
     -reduce-relocations \
+    -no-accessibility \
+    -no-freetype \
     -no-gui \
+    -no-harfbuzz \
     -no-widgets \
     -no-xcb \
     -no-eglfs \