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

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

    XMLWordPrintable

    Details

    • Platform/s:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes