You are not logged in.
OnlyOffice file chooser and Calibre do not respect my Adwaita-dark colorscheme.
What did I do wrong?
I installed `adwaita-qt{5,6}`, set them up with `qt{5,6}ct` and also installed `xdg-desktop-portal` and its GTK implementation `xdg-desktop-portal-gtk`.
I also exported `QT_QPA_PLATFORMTHEME=qt5ct` globally.
Is there something similiar for QT6?
Last edited by Brain (2022-12-31 15:55:51)
Offline
Seems like just setting `QT_QPA_PLATFORMTHEME=qt6ct` resolves the issue with Calibre.
The issue with OnlyOffice remains however.
Offline
install qgnomeplatform-qt5 & qgnomeplatform-qt6 (adwaita-qt5 & adwaita-qt6 are dependencies of them), that's all you need to do. Do not use qt5ct / qt6ct or kvantum, they're not related. Make sure neither QT_QPA_PLATFORMTHEME nor QT_STYLE_OVERRIDE are set. You may need to reboot afterward.
Offline
I did all the things you described.
How do I set the theme now?
I should have maybe said in the beginning, that I am not using GNOME or any DE, but rather a WM.
Offline
Setting `QT_QPA_PLATFORMTHEME='gnome'` seems to work. Is that what I am supposed to do now?
Offline
Yes, I was just typing that before I saw your new reply.
There's no theme to set, Qt applications will automatically use the Adwaita / Adwaita-dark theme.
OnlyOffice does not respect the desktop theme if I remember right. Check the settings, I believe it has it's own theme setting.
Offline
Although it breaks my fontconfig on Calibre and also does not work for OnlyOffice.
Offline
Is there something similiar for QT6?
Arch Linux Xfce - 64Bit Linux User #621110
Offline