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

QWebEngineView with Qt::Window flag not closed when its parent is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.12.1
    • None

      In the construction function of main window:

       

      QWebEngineView *w =newQWebEngineView(this);
      w->setWindowFlags(w->windowFlags() | Qt::Window);
      w->load(QUrl("https://qt.io");
      

      Later, after I close the main window(the only primary window), the window of w is still open. It should be closed and the app should exit.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            yetanotherqtfan Bill Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes