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

Type conversation problem in qt3d\src\threed\textures\qgltextureutils.cpp with MSVC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 2
    • 5.0.0 Beta 1
    • Qt3D
    • None
    • Windows 2008 r2, 32bit build.
    • c967c9ec7fee7270496bb2ee7c945e0b1f62f2f8

    Description

      While compiling Qt3d with MSVC on Windows with "-opengl-es-2 -angle" parameters it fails on qt3d\src\threed\textures\qgltextureutils.cpp at line 89 ("compressedTexImage2D = glCompressedTexImage2D;"):

      textures\qgltextureutils.cpp(89) : error C2440: '=' : cannot convert from 'void
      (__stdcall *)(GLenum,GLint,GLenum,GLsizei,GLsizei,GLint,GLsizei,const GLvoid *)'
      to 'q_glCompressedTexImage2DARB'
      This conversion requires a reinterpret_cast, a C-style cast or function-
      style cast
      NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\cl.EXE"' : return code '0x2'
      Stop.

      Attachments

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

        Activity

          People

            jabarron Jason Barron
            azbest_hu Zoltan Arvai
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes