Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133382

QtOpenGL stopped working after updating from Qt 6.6 to 6.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.7
    • GUI: OpenGL
    • None
    • Apple MacBook Pro 2023
      MacOS 15.1.1 (24B91)
    • macOS

      Here's sample code https://gitlab.com/strump/qt_gl_es3_bug

      It's a simple Qt + OpenGL application. It draws a green triangle with some animation.

      After upgrading Qt from 6.6.3 to 6.6.7 it's broken. You see only black screen and glGetError() gives error code 1282.

      The same issue was reported by Linux users.

      There's a workaround (see https://gitlab.com/strump/qt_gl_es3_bug/-/blob/master/README.md for details). After replacing setAttributeBuffer() with glVertexAttribPointer() the app become runnable with Qt 6.7.

      What was modified in Qt 6.7 in context of OpenGL shaders and vertex buffer object binding?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            strump Sergey Kozyr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes