-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
inherit unversioned QOpenGLFunctions instead of QOpenGLFunctions_2_1 #12803
Conversation
84eb38e
to
e51ea2d
Compare
We already have a release candidate and this is not a regression (except reverting the build error). So lets postpone this to 2.4.1 after some testing. |
Did you consider to use QOpenGLFunctions_2_1 or QOpenGLFunctions_E2 conditionally depending on the QT_OPENGL_ES_2 flag? This way the change does not affect the other builds. |
The generic QOpenGLFunctions class supports OpenGL ES 2.0, the minimum supported by Qt 5. Mixxx builds and runs fine with this; desktop OpenGL 2.1 is only required for the legacy OpenGL waveform renderers.
I think that would be overcomplicated. This simpler code works. |
The difference is that this has an impact on all builds, which needs a good amount of test. The conditional option will only affect GLES only builds and will fail at compile time, not at runtime. I consider such a solution as a reasonable Quick 2.4.1 fix. By the way, this enables the LEGACY GL waveforms, that are scheduled for removal anyway. So we may also consider to close this without a merge. |
Now that the urgent build failure has been fixed with #12804, it is not urgent to merge this to the 2.4 branch, and I agree this would need thorough testing.
That makes sense. |
Currently the aarch64 KDE Flatpak runtime is built with
-opengl es
passed to Qt's configure script. It's questionable whether that's necessary, but regardless, Mixxx can support Qt built with that option.https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/19
Fixes #12802