First for those of you who don’t know how to theme QT apps in GNOME in general:
Run
sudo dnf install qt5ct kvantum
Add below to ~/.bash-profile and logout > login (this tells your system to use qt5ct for the QT theme)
export QT_QPA_PLATFORMTHEME=“qt5ct”
Install all “org.kde.KStyle.Kvantum” runtimes for flatpak. These are essentially seperate installations of Kvantum specifically for flatpak, and they contain all the stock themes that Kvantum does.
Run the below command (this will override the QT style and give flatpak access to your Kvantum config)
flatpak override --user --env=QT_STYLE_OVERRIDE=kvantum --filesystem=xdg-config/Kvantum:ro
Finally open the qt5ct application, set it to the kvantum style and save. Then open Kvantum Manager and change to whatever them you want (typically it would be KvGnomeDark or something like that if you’re using Adwaita)
Now the question is how do you get custom kvantum themes to work in flatpak?
By download a custom theme and putting in ~/.config/Kvantum it can be applied but it’s only applied to non-flatpak apps, and even though we gave flatpak the permission to the kvantum config folder above, it still refuses to work.
I went a step further and actually copy pasted the custom theme in all the org.kde.KStyle.Kvantum flatpak runtimes’ installation folders, and it still refused to work.
So is this even possible to begin with?