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

webengine build fails without GLES3/gl32.h header

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.15.2
    • Fix Version/s: 5.15.2
    • Component/s: Device Creation, WebEngine
    • Labels:
      None
    • Platform/s:
      Linux/Yocto, Linux/Other display system

      Description

      QtWebEngine egl build using gles headers that don't have GLES3/gl32.h available will fail with:

      | In file included from ../../../../git/src/3rdparty/chromium/ui/gl/gl_bindings.h:508,
      
      |                  from ../../../../git/src/3rdparty/chromium/ui/gl/gl_surface_egl.h:25,
      
      |                  from ../../../../git/src/3rdparty/chromium/ui/ozone/common/gl_ozone_egl.h:12,
      
      |                  from /home/sapiippo/boot2qt/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtwebengine/5.15.1+gitAUTOINC+1bbd0db119_c5637fa907-r0/git/src/core/ozone/gl_ozone_egl_qt.h:45,
      
      |                  from /home/sapiippo/boot2qt/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtwebengine/5.15.1+gitAUTOINC+1bbd0db119_c5637fa907-r0/git/src/core/ozone/gl_ozone_egl_qt.cpp:52:
      
      | ../../../../git/src/3rdparty/chromium/ui/gl/gl_bindings_autogen_gl.h:326:31: error: typedef 'gl::glDebugMessageCallbackProc' is initialized (use decltype instead)
      
      |   326 | typedef void(GL_BINDING_CALL* glDebugMessageCallbackProc)(
      
      |       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
      
      | ../../../../git/src/3rdparty/chromium/ui/gl/gl_bindings_autogen_gl.h:327:5: error: 'GLDEBUGPROC' was not declared in this scope; did you mean 'GLDEBUGPROCAMD'?
      
      |   327 |     GLDEBUGPROC callback,
      
      |       |     ^~~~~~~~~~~
      

       

        Attachments

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

          Activity

            People

            Assignee:
            sapiippo Samuli Piippo
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes