I’ve been trying to get kdialog/qt file picker working on the Vivaldi web browser, but I can’t get the theming to work: both the color scheme and icon set won’t load in. It looks fine on native qt apps though.
Here’s my configuration.nix
# Environment variables
environment.sessionVariables = rec {
QT_QPA_PLATFORMTHEME = "qt5ct";
XDG_CURRENT_DESKTOP = "KDE";
};
# Desktop integration portals
xdg.portal.extraPortals = [ pkgs.libsForQt5.xdg-desktop-portal-kde ];
xdg.portal.enable = true;
Thank you for your time!