You are not logged in.
On KDE plasma there are global settings to configure whether (QT5) applications (such as kmail) show symbols in menus or on buttons or not:
https://docs.kde.org/stable5/en/plasma- … index.html
Settings->Appearance->Application Style->Configure Icons and Toolbars -> Show Icons: On buttons/In menus
Where/how can I configure that behavior for QT5 applications running on XFCE?
I do have a QT5 settings panel (QT5 configuration tool) which in its interface pane has "dialogue panels have icons" and "menus have icons".
Disabling them however does not seem to have an effect on QT5 applications (I tried Kmail's "language setting" dialogue as an example).
More precisely, they work for some menus/dialogues, but not for all.
Any ideas what to do about this?
Offline
Have you added this to your /etc/environment file?
export QT_QPA_PLATFORMTHEME="qt5ct"
Arch Linux Xfce - 64Bit Linux User #621110 GitHub
Offline
No, I hadn't, but I checked in Terminal that echo $QT_QPA_PLATFORMTHEME does yielt qt5ct. So it's probably set elsewhere.
I now added QT_QPA_PLATFORMTHEME=qt5ct to my /etc/environment (note: no "export", which to the best of my knowledge is not necessary there, unlike in /etc/profile). Does not make a difference though.
Is there a way I can display the actual QT5 setting for showing icons on buttons and in menus? Here do QT5 applications retrieve that information from?
BTW, I see the same issue in the "configure language" window in Dolphin or Kate, so the issue is not specific to Kmail.
Last edited by gschwarz (2023-04-01 16:21:36)
Offline
It now turned out that this is a "feature" (or, depending on your expectations, a shortcoming) of qt5ct. See here for an explanation and how to work around it:
https://sourceforge.net/p/qt5ct/tickets/94/
Offline
I don't know what distribution you use, but for me on Arch Linux there is a PKGBUILD available for the qt5-styleplugins package that has a GTK2 theme, and for me it looks like this
EDIT.
I now added QT_QPA_PLATFORMTHEME=qt5ct to my /etc/environment (note: no "export", which to the best of my knowledge is not necessary there, unlike in /etc/profile). Does not make a difference though.
You need to restart the system for it to take effect.
Last edited by robson75 (2023-04-01 20:44:33)
Arch Linux Xfce - 64Bit Linux User #621110 GitHub
Offline
[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 534.07 KiB (Peak: 534.91 KiB) ]