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

QtWebView::initialize() before QGuiApplication and deployed does not show webview

    XMLWordPrintable

Details

    • Windows

    Description

      if QtWebView::initialize() is used after QGuiApplication then warning is displayed QtWebEngine::initialize() called with QCoreApplication object already created and should be call before
      If initialize() is used before QGuiApplication warning goes away, when run with Qt Creator it works but if deployed using windeployqt Webview does not work.
      Attached example reproduces it.

      use QtWebView::initialize() before QGuiApplication and run with QTC it works without warning. Now deploy the binary with windeployqt and run. Webview will not work.

      Attachments

        Activity

          People

            stromme Christian
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: