diff --git a/Modules/opengl/opengl.cpp b/Modules/opengl/opengl.cpp --- a/Modules/opengl/opengl.cpp +++ b/Modules/opengl/opengl.cpp @@ -860,8 +860,6 @@ surface.create(); QOpenGLContext context; QSurfaceFormat format; - format.setMajorVersion(3); - format.setMinorVersion(2); format.setProfile(profile); context.setFormat(format); if (!context.create()) {