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

qtbase\src\gui\rhi\qrhid3d11.cpp(3925): error C2065: 'DXGI_SWAP_EFFECT_FLIP_DISCARD': undeclared identifier

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: 5.14
    • Component/s: Qt RHI
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      5142fe2c54970040fb6967848156a5f28b5a2dc9

      Description

      getting qtbase\src\gui\rhi\qrhid3d11.cpp(3925): error C2065: 'DXGI_SWAP_EFFECT_FLIP_DISCARD': undeclared identifier when building on windows 7, Visual Studio 2015 with update 3 (last).

      Is there any workaround to disable DX?
      And if not, why not? I suppose it would be still desirable to avoid linking D3D if opengl is anyway going to be used

      For the moment the workaround was to comment away that line, since D3D is not going to be used anyway.
      Please make this part of RHI optional in configure.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes