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

QOpenGLFunctions methods not const

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes