Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force dark style doesn't work on qt apps #93

Open
Im-Mefju opened this issue Aug 13, 2021 · 4 comments
Open

force dark style doesn't work on qt apps #93

Im-Mefju opened this issue Aug 13, 2021 · 4 comments

Comments

@Im-Mefju
Copy link

Qt apps still use light theme. Idk if every qt app work that way but qbittorrent isn't using dark theme for me

@sirsleon
Copy link

btw is force dark style meant to work with gnome flatpak apps?

@ryonakano
Copy link
Member

Regarding to dark style in Qt apps, setting QT_STYLE_OVERRIDE=adwaita-dark seems to work according to ArchWiki, so simply we can add a way to set this environment variable in Pantheon Tweaks in some way.

Regarding to dark style in Flatpak apps, I assume it's out of our scope because they're sandboxed; they can't access to the gtk config file in the host system which Pantheon Tweaks uses for force-dark-style preference.

Marking as "confirmed" only for the dark style in Qt apps.

@Radical4ever
Copy link

you can modify the .profile text file in your home folder and on the end of the text you put QT_STYLE_OVERRIDE=gtk2 and QT_QPA_PLATFORMTHEME=gtk2

@Radical4ever
Copy link

and i almost forgot you need the qt-style-plugins or how its called .now if you want to change font, icons, etc you nedd qt5ct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants