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

Default to QT_QPA_PLATFORM=xcb on Linux/Wayland #596

Closed
abey79 opened this issue Feb 8, 2023 · 1 comment · Fixed by #607
Closed

Default to QT_QPA_PLATFORM=xcb on Linux/Wayland #596

abey79 opened this issue Feb 8, 2023 · 1 comment · Fixed by #607
Milestone

Comments

@abey79
Copy link
Owner

abey79 commented Feb 8, 2023

If we detect a linux box running on wayland, we should force Qt to use the xcb platform as the wayland backend doesn't work properly with moderngl.

This maybe a good way to detect wayland:

XDG_SESSION_TYPE=wayland

Relevant discussions:

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

Successfully merging a pull request may close this issue.

1 participant