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

Windows/5.15: Some dx symbols cannot be found due to directxsdk update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.15.2
    • Fix Version/s: 5.15.9
    • Component/s: QPA: Windows, Qt RHI
    • Labels:
      None
    • Environment:
      Windows10
      Visual Studio 2017
    • Platform/s:
      Windows
    • Commits:
      089911e47d (qt/tqtc-qtbase/5.15)

      Description

      We ran into a problem when using qt source code to build tools https://github.com/microsoft/vcpkg/issues/13566]:

       {{qrhid3d11.obj : error LNK2001: unresolved external symbol IID_IDXGIFactory2
      qrhid3d11.obj : error LNK2001: unresolved external symbol IID_ID3D11DeviceContext1
      qrhid3d11.obj : error LNK2001: unresolved external symbol IID_ID3DUserDefinedAnnotation
      ..\..\lib\Qt5Guid.dll : fatal error LNK1120: 3 unresolved externals}}

       

      After communicating with our DirectXSDK team members, we were informed that after the dxsdk update, some functions (IID_IDXGIFactory2-IID_IDXGIFactory5) originally contained in dxguid.lib have been moved to other libraries (see the issue above for details).
      If we use the DirectXSDK downloaded from the official website, this problem will occur. Using the library in the Windows 10 SDK does not currently have this problem, but there is no guarantee that subsequent upgrades to the Windows 10 SDK will still cause this problem.
      This problem may affect the qt6.x version.

       

      Thanks.

      Jack

        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:
            jackboos Jack Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes