Package Details: qadwaitadecorations-qt5 0.1.7-3

Git Clone URL: https://aur.archlinux.org/qadwaitadecorations.git (read-only, click to copy)
Package Base: qadwaitadecorations
Description: Qt5 decoration plugin implementing Adwaita-like client-side decorations
Upstream URL: https://github.com/FedoraQt/QAdwaitaDecorations
Licenses: LGPL2.1-or-later
Submitter: coolingtool
Maintainer: Taijian
Last Packager: Taijian
Votes: 18
Popularity: 0.50
First Submitted: 2023-09-12 21:56 (UTC)
Last Updated: 2025-10-14 14:26 (UTC)

Latest Comments

1 2 3 Next › Last »

Taijian commented on 2025-10-12 12:01 (UTC)

I have uploaded a hacky patch for the QT 6.10 issue - please try it out and let me know whether there are any issues.

Taijian commented on 2025-10-11 08:54 (UTC)

@solsticedhiver: Yes, this is an upstream issue due to changes in QT 6.10. See here: https://github.com/FedoraQt/QAdwaitaDecorations/issues/87

Until this upstream issue gets resolved, building this package for QT6 will continue to fail.

solsticedhiver commented on 2025-10-10 20:47 (UTC)

fails to build with error:

-- The following REQUIRED packages have been found:

 * QT
 * Qt6 (required version >= 6.5.0)
 * Qt6Gui (required version >= 6.5.0)

-- Configuring done (1.2s)
CMake Error at src/CMakeLists.txt:8 (target_link_libraries):
  Target "qadwaitadecorations" links to:

    Qt6::GuiPrivate

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…

marmis commented on 2025-07-11 23:13 (UTC)

@barraponto I don't think that's possible. For a hook like that, the package would actually be composed of source files, and the depends would be composed of the makedepends listed here. The end result is a very different package from this one.

The common way to trigger rebuilds in Arch packages today is via pkgrel bumping, like this.

barraponto commented on 2025-07-10 02:54 (UTC)

this package would benefit from a hook to rebuild every time qt6-base updates.

marmis commented on 2024-12-24 04:45 (UTC) (edited on 2024-12-24 09:44 (UTC) by marmis)

@coolingtool, version 0.1.6 works without any changes. One thing I noticed is that license doesn't follow the SPDX specification, and namcap asks to explicitly declare qt5-base and qt6-base dependencies. Here's a patch for that, alongside the update:

Patch for the v0.1.6 update
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9881fec
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index bb0f52a..8cf9f26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,15 @@
 pkgbase=qadwaitadecorations
 _pkgname=QAdwaitaDecorations
 pkgname=(qadwaitadecorations-qt5 qadwaitadecorations-qt6)
-pkgver=0.1.5
+pkgver=0.1.6
 pkgrel=1
-pkgdesc=' Qt decoration plugin implementing Adwaita-like client-side decorations'
+pkgdesc='Qt decoration plugin implementing Adwaita-like client-side decorations'
 arch=('x86_64')
 url='https://github.com/FedoraQt/QAdwaitaDecorations'
-license=(LGPL2.1)
+license=(LGPL-2.1-or-later)
 makedepends=(make cmake qt5-wayland-decorations qt6-wayland qt5-svg qt6-svg)
 source=("https://github.com/FedoraQt/QAdwaitaDecorations/archive/$pkgver/$_pkgname-$pkgver.tar.gz")
-sha256sums=('9e3bde8332da156744f86ad09f9e0456dd63f6fcfdc330b4667f4fdc4faf7a6b')
+sha256sums=('dc413ddd27ea8f5bbbfd9640f5f2c25827c035d280dc271dd8dc18c88de905e1')

 build() {
   cmake -B build-$pkgver-qt5 -S $_pkgname-$pkgver \
@@ -28,14 +28,14 @@ build() {

 package_qadwaitadecorations-qt5() {
   pkgdesc='Qt5 decoration plugin implementing Adwaita-like client-side decorations'
-  depends=(qt5-wayland-decorations qt5-svg)
+  depends=(qt5-base qt5-wayland-decorations qt5-svg)

   DESTDIR="$pkgdir" make -C build-$pkgver-qt5 install
 }

 package_qadwaitadecorations-qt6() {
   pkgdesc='Qt6 decoration plugin implementing Adwaita-like client-side decorations'
-  depends=(qt6-wayland qt6-svg)
+  depends=(qt6-base qt6-wayland qt6-svg)

   DESTDIR="$pkgdir" make -C build-$pkgver-qt6 install
 }

ceg commented on 2024-04-14 11:34 (UTC)

Yep that fixed it, thanks Kfftuftur!

Kfftfuftur commented on 2024-04-13 08:52 (UTC)

I also had the issue of QT6 applications segfaulting when this package is installed. I tried debugging them with GDB and the segfaults seem to originate from QAdwaitaDecorations::forceRepaint()

This seems related to https://github.com/FedoraQt/QAdwaitaDecorations/issues/33

Simply deleting ~/.cache/yay/qadwaitadecorations and rebuilding the package fixed the issue for me.

yochananmarqos commented on 2024-04-12 21:21 (UTC) (edited on 2024-04-12 21:22 (UTC) by yochananmarqos)

@ceg:

❯ export QT_WAYLAND_DECORATION="adwaita" qt6ct

Well, that's invalid, so that's a thing. Remove 'qt6ct', that does not belong there.

FYI, changing environment variables will not take effect unless you logoff or reboot (depending if they're set per user or globally).

Again, this is not the place to troubleshoot issues with other packages. Please use the proper support channels like the Arch forums or IRC.

ceg commented on 2024-04-12 21:16 (UTC)

Unfortunately it still does not work, it crashes with this package installed

❯ export QT_WAYLAND_DECORATION="adwaita" qt6ct

❯ qt6ct ... [1] 47046 segmentation fault (core dumped) qt6ct