You don’t have to enter this in /etc/environment
, even if it works, but you can use the ~/.bash_profile
file without root. Simply move the entries from the old ~/.profile
file to ~/.bash_profile
and your QT applications will use the dark theme.
E.g. the line: export QT_QPA_PLATFORMTHEME=qt5ct
2 Likes