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

Freeze in Constructor of QGuiApplication when using QWebView with NVidia Card

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.0.0
    • WebView
    • None
    • Windows 10 Pro (19045), NVIDIA GTX 1050, 32GB RAM, Core i7-12700
    • Windows

    Description

      I have a strange freeze in QGuiApplication that I could reduce to a minimum example.

      • Add QWebView to your project
      • Add QGuiApplication to your project and make a minimum HelloWorld example

      When I start this application it freezes in the constructor of QGuiApplication. The stacktrace shows this line where the freeze occurs:
      OpenGLTester::testDesktopGL() Line 375

      if (!MakeCurrent(dc, context))
          goto cleanup;

      When I remove the importĀ 

      #include <QtWebView> 

      the freeze doesn't occur.

      Also with Qt Version 6.5.3 the freeze doesn't occur even with QWebView active

      I had the chance to try it on a different machine with another NVidia card. It happens there too. But both machines have the same driver version. So the two machines where I could test it are:

      • NVIDIA GTX 1050 with Driver 546.01
      • NVIDIA GTX 1650 with Driver 546.01

      I will attach the minimum example on this issue. When the freeze occurs the console will print out only

      Before QGuiApplication app(argc, argv)

      and freeze afterwards

      Attachments

        Issue Links

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

          Activity

            People

              stromme Christian
              scheungrab@cipsoft.com Anton Scheungrab
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes