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

fix QT>=6.4 segfault by always setting surface type #984

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mitchcapper
Copy link
Contributor

See #754 for details but this is the recommendation from QT dev @alpqr that 100% WFM. Note, as I mention there officially the old behavior would be best replicated by setting this to the internal value QSurface::RasterGLSurface from https://doc.qt.io/qt-6/qsurface.html#SurfaceType-enum as this is what QT 6.3 and lower did. If you want me to update the PR to that I can. I don't have osx to test there.

Clearly people are running mythtv with QT > 6.3 so I am not sure why only some users hit this bug. Maybe it is only if they have hardware rendering enabled? Given how long it has stood though there must be something scoping it to just a select few of us.

Checklist

Fixes #754

@jhoyt4
Copy link
Contributor

jhoyt4 commented Dec 12, 2024

This is confirmed to work on macOS with qt 6.8

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.

Qt6: Current master segfaults on qt-xcb(x11) and qt-wayland qpa on Qt6.4+
2 participants