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

win10 and winrt10 build failed - error C3861: 'AsIID': identifier not found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.9.1
    • Component/s: QPA: Direct2D
    • Labels:
      None
    • Environment:
      MSVC 2017, windows 10 and winrt 10. -platform win32-msvc2017 -xplatform winrt-x86-msvc2017
    • Platform/s:
      WinRT
    • Commits:
      5f0ce2333f7e11a3ffb5d16a27cd9303efa712d5

      Description

      https://codereview.qt-project.org/#/c/195657/
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1496686272
      https://testresults.qt.io/coin/api/results/qt/qtbase/f502fa736ff3c71c0c4dcbc1e77d8bf1ba3c5aa1/WindowsWindows_10x86WindowsWindows_10x86MSVC2017qtci-windows-10-x86-6-99c50bDebugAndRelease_Release_ForceDebugInfo_OpenGLDynamic_DisableTests/7ca30f915833d953146007e71743147e3e719500/build_1496686389/buildlog.txt.gz
      https://testresults.qt.io/coin/api/results/qt/qtbase/f502fa736ff3c71c0c4dcbc1e77d8bf1ba3c5aa1/WindowsWindows_10x86_64WinRTWinRT_10x86MSVC2017qtci-windows-10-x86_64-7-456484DebugAndRelease_Release_ForceDebugInfo_DisableTests/7ca30f915833d953146007e71743147e3e719500/build_1496688797/buildlog.txt.gz

      c:\users\qt\MSVC2017.bat \Users\qt\work\qt\qtbase\configure.bat -platform win32-msvc2017 -xplatform winrt-x86-msvc2017 -opensource -confirm-license -nomake tests -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake examples -force-debug-info
      
      ...
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt\wrl\implements.h(1580): error C3861: 'AsIID': identifier not found
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt\wrl\implements.h(1576): note: while compiling class template member function 'HRESULT Microsoft::WRL::Details::RuntimeClass<Microsoft::WRL::Details::InterfaceList<T0,Microsoft::WRL::Details::Nil>,Microsoft::WRL::RuntimeClassFlags<2>,true,false,true>::QueryInterface(const IID &,void **)'
              with
              [
                  T0=IUnknown
              ]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt\wrl\implements.h(2272): note: see reference to class template instantiation 'Microsoft::WRL::Details::RuntimeClass<Microsoft::WRL::Details::InterfaceList<T0,Microsoft::WRL::Details::Nil>,Microsoft::WRL::RuntimeClassFlags<2>,true,false,true>' being compiled
              with
              [
                  T0=IUnknown
              ]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt\wrl\event.h(885): note: see reference to class template instantiation 'Microsoft::WRL::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<2>,IUnknown,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil>' being compiled
      ...
      

        Attachments

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

          Activity

            People

            • Assignee:
              owolff Oliver Wolff
              Reporter:
              liaqi Liang Qi
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes