When qt5ct is set to 'gtk2' and QT_QPA_PLATFORMTHEME=qt5ct, every qt5 application segfaults. The backtrace is in the following gist: https://gist.github.com/DAMO238/670e5554d41a15a27aebd393f8b792af. It looks like an infinite recursion error to me (although I'm no expert in these things). I have also tried using the git version to no avail.
Search Criteria
Package Details: qt5-styleplugins 5.0.0.20170311-35
Package Actions
Git Clone URL: | https://aur.archlinux.org/qt5-styleplugins.git (read-only, click to copy) |
---|---|
Package Base: | qt5-styleplugins |
Description: | Additional style plugins for Qt5 |
Upstream URL: | https://github.com/qt/qtstyleplugins |
Keywords: | Qt5 style |
Licenses: | LGPL |
Submitter: | arojas |
Maintainer: | yrlf |
Last Packager: | yrlf |
Votes: | 87 |
Popularity: | 1.10 |
First Submitted: | 2020-05-26 19:14 (UTC) |
Last Updated: | 2023-01-08 12:56 (UTC) |
Dependencies (2)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
Required by (9)
- cameracontrol-bin (optional)
- chicago95-theme (optional)
- chicago95-theme-git (optional)
- gtk-theme-e17gtk-git (optional)
- gtk-theme-e17gtk-revolved-git (optional)
- nscde (optional)
- nscde-git (optional)
- spiral-notebook-bin (optional)
- xfce-classiclooks (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4
DAMO238 commented on 2020-06-08 21:31 (UTC)
TheRepoClub commented on 2020-06-04 13:41 (UTC)
ferdi thanks for patching this again mate :)
yrlf commented on 2020-06-03 22:19 (UTC) (edited on 2020-06-03 22:33 (UTC) by yrlf)
@gamezelda: I noticed that too, but I initially thought it was a bug in qt5ct, so I patched it there via an ugly workaround that I didn't upstream because I was sure it wasn't the real source of the problem.
Thank you for tracking that down! I'll integrate your patch into the package.
Edit: I can't really reproduce your problem any more by downgrading to older versions of qt5-styleplugins, but I definitely experienced the same ugliness with keepassxc (I use a light theme, but the difference in background color was still apparent)
Edit2: I can reproduce your problem with qt5ct-0.41-3 and qt5-styleplugins-5.0.0.20170311-21, and your patch definitely fixes it. It's just that the qt5ct guys apparently also fixed it. Here's their patch: https://git.archlinux.org/svntogit/community.git/tree/trunk/qt5.15-palette.patch?h=packages/qt5ct&id=ef7a6058bf79f1dbab8732838da5e956c51a6e5f
gamezelda commented on 2020-06-03 21:42 (UTC) (edited on 2020-06-03 21:43 (UTC) by gamezelda)
Qt 5.15 just got out of testing and after the upgrade (and even after recompiling this package), keepassxc looks ugly for me (I use a dark theme for GTK, and keepassxc looks like it's using a mix of a dark and a light theme)
I took a look at the patch for Qt 5.15 in this package and the related change in Qt ( https://github.com/qt/qtbase/commit/0a93db4d82c051164923a10e4382b12de9049b45#diff-8351cff715fd685cdf3fb01282c40529L1423 ) and tried changing the (now non-existing) call to QApplicationPrivate::setSystemPalette to QApplication::setPalette instead of deleting it (like this: https://pastebin.com/x4Uf4tVi ), since that's pretty much what QApplicationPrivate::setSystemPalette did, and this has solved my immediate issue with keepassxc. Not sure if that's the 'right' fix or there's any gotcha, though.
TheRepoClub commented on 2020-05-31 18:09 (UTC)
thanks I have updated the pkgbuild
yrlf commented on 2020-05-28 10:47 (UTC)
This package fails to build once Qt 5.15 lands (currently in testing).
This patch from the OpenSUSE team fixes the build:
https://gist.github.com/Ferdi265/1f3b21592e4751c16096fea009dde70a (original source: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtstyleplugins)
Also, here is a full patch including neccessary changes to the PKGBUILD: https://gist.github.com/Ferdi265/066dbb7a1e5eb1b6b30fd6ade526259b
Pinned Comments
yrlf commented on 2020-09-12 18:03 (UTC) (edited on 2022-12-08 16:50 (UTC) by yrlf)
Quick reminder:
qt-base 5.15.7+kde+r176-1
has been released; Users of this package will need to rebuildqt5-styleplugins
(yay -S --rebuild qt5-styleplugins
), otherwise Qt applications will crash.The pkgrel of this package has been bumped so this should be done automatically by your AUR helper.
qt5-base
last release: 2022-11-24 10:22PKGBUILD updated: 2022-12-08 17:48