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

emulator / qtglesstream fails to build against Qt 5.13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.13
    • Fix Version/s: 5.7.0
    • Component/s: Device Creation
    • Labels:
      None
    • Commits:
      5a7149039fbf3c01083875cc650dd87f90744734 (qt/tqtc-qtglesstream/dev) dbc4912fcd384972208540a6f11dfbb7214e5829 (tqtc-boot2qt/emulator/master)

      Description

      After change https://codereview.qt-project.org/#/c/245630/ qtglesstream no longer compiles against qtbase.

       

      agent:2018/12/10 13:10:13 build.go:193: In file included from c:\Users\qt\work\install\include/QtGui/qopengl.h:146:0,
      agent:2018/12/10 13:10:13 build.go:193:                  from c:\Users\qt\work\install\include\QtGui/qopenglcontext.h:60,
      agent:2018/12/10 13:10:13 build.go:193:                  from c:\Users\qt\work\install\include\QtGui/QOpenGLContext:1,
      agent:2018/12/10 13:10:13 build.go:193:                  from qglesstreamdispatcher.cpp:30:
      agent:2018/12/10 13:10:13 build.go:193: c:\Users\qt\work\install\include/QtGui/qopenglext.h:475:30: error: conflicting declaration 'typedef long int GLsizeiptr'
      agent:2018/12/10 13:10:13 build.go:193:  typedef signed long int      GLsizeiptr;
      agent:2018/12/10 13:10:13 build.go:193:                               ^~~~~~~~~~
      agent:2018/12/10 13:10:13 build.go:193: In file included from qglesstreamhelper_p.h:41:0,
      agent:2018/12/10 13:10:13 build.go:193:                  from qglesstreamdispatcher.cpp:25:
      agent:2018/12/10 13:10:13 build.go:193: ..\..\headers/GLES3/gl3.h:67:25: note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr'
      agent:2018/12/10 13:10:13 build.go:193:  typedef khronos_ssize_t GLsizeiptr;
      agent:2018/12/10 13:10:13 build.go:193:                          ^~~~~~~~~~
      agent:2018/12/10 13:10:13 build.go:193: In file included from c:\Users\qt\work\install\include/QtGui/qopengl.h:146:0,
      agent:2018/12/10 13:10:13 build.go:193:                  from c:\Users\qt\work\install\include\QtGui/qopenglcontext.h:60,
      agent:2018/12/10 13:10:13 build.go:193:                  from c:\Users\qt\work\install\include\QtGui/QOpenGLContext:1,
      agent:2018/12/10 13:10:13 build.go:193:                  from qglesstreamdispatcher.cpp:30:
      agent:2018/12/10 13:10:13 build.go:193: c:\Users\qt\work\install\include/QtGui/qopenglext.h:476:30: error: conflicting declaration 'typedef long int GLintptr'
      agent:2018/12/10 13:10:13 build.go:193:  typedef signed long int      GLintptr;
      agent:2018/12/10 13:10:13 build.go:193:                               ^~~~~~~~
      agent:2018/12/10 13:10:13 build.go:193: In file included from qglesstreamhelper_p.h:41:0,
      agent:2018/12/10 13:10:13 build.go:193:                  from qglesstreamdispatcher.cpp:25:
      agent:2018/12/10 13:10:13 build.go:193: ..\..\headers/GLES3/gl3.h:68:26: note: previous declaration as 'typedef khronos_intptr_t GLintptr'
      agent:2018/12/10 13:10:13 build.go:193:  typedef khronos_intptr_t GLintptr;
      agent:2018/12/10 13:10:13 build.go:193:                           ^~~~~~~~ 

        Attachments

          Issue Links

          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:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes