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

slippi doesn't use native qt theme #313

Closed
unmellow opened this issue Aug 29, 2021 · 4 comments
Closed

slippi doesn't use native qt theme #313

unmellow opened this issue Aug 29, 2021 · 4 comments

Comments

@unmellow
Copy link

unmellow commented Aug 29, 2021

Expected Behavior

slippi should check my environment variables
and see that QT_QPA_PLATFORMTHEME is set to qt5ct
and use the theme i set in that program, this is how dolphin
currently works

Current Behavior

slippi is using the default qt light theme with no clear way to change it

Steps to Reproduce

  1. download qt5ct
  2. set qt5ct theme to a dark theme.
  3. download slippi appimage
  4. open a terminal and type:
export QT_QPA_PLATFORMTHEME="qt5ct" (hit enter)
/path/to/Slippi_Online-x86_64.Appimage

Environment

OS: Manjaro Linux x86_64
kernel: 5.10.47-1-lts

@NikhilNarayana
Copy link
Member

Slippi Dolphin is not based on Qt, we use wxWidgets.

@unmellow
Copy link
Author

Shouldn't it still be using the theme set by gtk or qt? I have both set to dark themes and no matter how I launch it it's white

@NikhilNarayana
Copy link
Member

I don't have enough knowledge about that to answer confidently. Feel free to ask/search in our Discord's linux support channel.

@ryanmcgrath
Copy link
Collaborator

Just some context, if it's useful:

  • this switched from GTK2 to GTK3 when wxWidgets was bumped some months ago. Unsure if the flag you're after differs with this.
  • I wanna say that the build of wxWidgets in Externals has wxQT support, so you could fork and build it yourself that way... it runs on top of QT5 and has its own quirks (been years since I looked at it). It's probably highly unlikely this project would ever use it but if you're building yourself it's something to consider.

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

No branches or pull requests

3 participants