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

[Windows] Qt WebView produces DXGI error at startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 6.8.0 FF
    • 6.5.6, 6.7.2
    • WebView
    • None
    • Windows 10 22H2, MSVC 2022
    • Windows

      Steps to reproduce
      Use Qt Creator to build and run the Minibrowser example: https://doc.qt.io/qt-6/qtwebview-minibrowser-example.html

       

      Outcomes
      At startup, the following message is printed to the Application Output pane many times:

      DXGI ERROR: CreateDXGIFactory cannot be called from DllMain. [ MISCELLANEOUS ERROR #76: ]
      

       

      Notes

      • This occurs even if we set the environment variable QSG_RHI_BACKEND=opengl before creating QGuiApplication
      • Unlike QTBUG-117882, my Minibrowser example still runs as expected despite these errors. Perhaps it's because I'm running an Intel GPU instead of an NVIDIA GPU

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

            stromme Christian
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes