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

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 Beta
    • 5.4.0 Alpha
    • GUI: OpenGL
    • None
    •  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

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

        Activity

          People

            andrew.knight Andrew Knight
            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