Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Use QWebEngineView as a widget in QDockWidget, when the QMainWindow closed, the QWebEngine View can not be closed

Use QWebEngineView as a widget in QDockWidget, when the QMainWindow closed, the QWebEngine View can not be closed

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 2 Posters 889 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miaomiao
    wrote on last edited by
    #1

    I have QMainwindow as Mainwindow. In the MainWindow, there is a QQuickWidget and a QDockWidget. The QDockWidget is floating. And the QDockWidget is used for contain a QWebEngineView.
    When I close the MainWindow, the QWebEngineView can not be closed.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should add which version of Qt you are using, the platform you are running on as well as a minimal compilable example showing that behaviour.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You should add which version of Qt you are using, the platform you are running on as well as a minimal compilable example showing that behaviour.

        M Offline
        M Offline
        miaomiao
        wrote on last edited by
        #3

        @SGaist My Qt version is 5.11.1. My platform is win10, and use the qt vs plugin to complie.
        The QDockWidget is floatiing on the MainWindow. And the QWebEngineView is a child window in the QDockWidget, not CentralWindow in MainWindow.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved