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

Building Qt from 5.4 branch with angle on mingw-w64 x64 fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.0 Alpha
    • Fix Version/s: 5.4.0 Beta
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Commits:
       311157c3c6849e8efccd88f7594bb34c570a6780

      Description

      Building Qt from 5.4 branch with angle on mingw-w64 x64 fails.

      Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp: In member function 'bool rx::TextureD3D::subImage(GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const gl::PixelUnpackState&, const void*, rx::Image*)':
      Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp:127:68: error: cast from 'const void*' to 'unsigned int' loses precision [-fpermissive]
      unsigned int offset = reinterpret_cast<unsigned int>(pixels);
      ^
      Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp: In member function 'bool rx::TextureD3D::fastUnpackPixels(const gl::PixelUnpackState&, const void*, const gl::Box&, GLenum, GLenum, rx::RenderTarget*)':
      Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp:181:64: error: cast from 'const void*' to 'unsigned int' loses precision [-fpermissive]
      unsigned int offset = reinterpret_cast<unsigned int>(pixels);
      ^
      jom: R:\build\libs\qtbase\work\mingw-w64-RelWithDebInfo-5.4\src\angle\src\libGLESv2\Makefile.Release [.obj\release\TextureD3D.o] Error 1

        Attachments

        For Gerrit Dashboard: QTBUG-41308
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            andrew.knight Andrew Knight
            Reporter:
            theonering Hannah von Reth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes