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

QtOpenGL stopped working after updating from Qt 6.6 to 6.7

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes