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

QOpenGLFunctions methods not const

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 5.3.0 RC1
    • GUI: OpenGL
    • None

      QOpenGLFunctions function mimicking OpenGL calls are declared as non const.

      This is a problem when a class inherits QOPenGLFunctions and try to use OpenGL calls inside a const method.

      I suggest that QOpenGLFunctions methods overloading OpenGL calls should be all declared as const, to make its usage similar to directly using OpenGL.

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

            lagocs Laszlo Agocs
            guillaumec Guillaume Chereau
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes