Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-20885 Larger changes for Qt 5
  3. QTBUG-23207

Qt does not build without openGL

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Not Evaluated
    • 5.0.0
    • GUI: OpenGL
    • None
    • d584292aa2e17dbb7cdfee24b442cd9cb66e5aac

    Description

      I get a lot of output like this:

      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:146: error: 'GLenum' is not a type
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:146: error: 'GLvoid' has not been declared
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:149: error: expected initializer before '*' token
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:158: error: 'GLboolean' does not name a type
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: variable or field 'glBlitFramebuffer' declared void
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: 'QOpenGLExtensions::glBlitFramebuffer' declared as an 'inline' variable
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: 'int QOpenGLExtensions::glBlitFramebuffer' is not a static member of 'class QOpenGLExtensions'
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:168: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:168: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:168: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:168: error: 'GLint' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:169: error: 'GLbitfield' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:169: error: 'GLenum' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:169: error: initializer expression list treated as compound expression
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:170: error: expected ',' or ';' before '{' token
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:177: error: variable or field 'glRenderbufferStorageMultisample' declared void
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:177: error: 'QOpenGLExtensions::glRenderbufferStorageMultisample' declared as an 'inline' variable
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:177: error: 'int QOpenGLExtensions::glRenderbufferStorageMultisample' is not a static member of 'class QOpenGLExtensions'
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:177: error: 'GLenum' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:177: error: 'GLsizei' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:178: error: 'GLenum' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:179: error: 'GLsizei' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:179: error: 'GLsizei' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:179: error: initializer expression list treated as compound expression
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:180: error: expected ',' or ';' before '{' token
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: variable or field 'glGetBufferSubData' declared void
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: 'QOpenGLExtensions::glGetBufferSubData' declared as an 'inline' variable
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: 'int QOpenGLExtensions::glGetBufferSubData' is not a static member of 'class QOpenGLExtensions'
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: 'GLenum' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: expected primary-expression before 'offset'
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: expected primary-expression before 'size'
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: 'GLvoid' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: 'data' was not declared in this scope
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:187: error: initializer expression list treated as compound expression
      ../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:188: error: expected ',' or ';' before '{' token
      kernel/qopenglcontext.cpp: In member function 'virtual void QOpenGLSharedResourceGuard::freeResource(QOpenGLContext*)':
      kernel/qopenglcontext.cpp:512: error: 'm_id' was not declared in this scope

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes