Skip to content

Conversation

@WickedSmoke
Copy link
Contributor

Without this "QT_QPA_PLATFORM=xcb" is needed on Wayland or else the shaders may not compile.

Fixes issue #1650.

Without this "QT_QPA_PLATFORM=xcb" is needed on Wayland or else the
shaders may not compile.
@phkahler
Copy link
Member

phkahler commented Dec 10, 2025

@WickedSmoke This is fine, I'll merge it. But I thought the GTK version was using GLES because back then they mistakenly thought Wayland apps needed to use it (they don't). Maybe it just needed to be specified like in this patch?

Edit: Also, I'm running on Wayland (gnome) and it works either way. At some point I'll uninstall XWayland to be sure things can't quietly fall back to that.

@phkahler phkahler linked an issue Dec 10, 2025 that may be closed by this pull request
@phkahler phkahler merged commit eaefb5d into solvespace:master Dec 10, 2025
3 of 4 checks passed
@WickedSmoke
Copy link
Contributor Author

I don't see anywhere in guigtk.cpp where a version is specified.

The header in rendergl3.cpp says it's for "OpenGL 3.0", but in a comment later it says "core OpenGL 3 profile". Profiles were added in 3.2, so all the platforms should be requesting the 3.2 core profile.

@WickedSmoke WickedSmoke deleted the qt branch December 10, 2025 16:22
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 this pull request may close these issues.

solvespace-qt - Cannot compile shader error on start

2 participants