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

[Windows] Qt WebView produces DXGI error at startup

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes