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

Installing QtWebView does not auto-select it's prerequisites

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.4.1
    • Packaging & Installer
    • None
    • Windows

    Description

      Use of QtWebView when it is installed without all of it's dependent Qt add-on libraries installed results in an app that fails to run properly, with just the message:
      No WebView plug-in found!

      Enabling plugin debugging with environment variable QT_DEBUG_PLUGINS set to 1 does not provide any further information - just that the webview plugin dll failed to load. This is a common occurrence on Windows - where dependent libraries are hard to diagnose.

      Using Windows procmon tool, I was able to determine that I was missing Qt6WebChanneld.dll, and Qt6Positioningd.dll. I was aware that WebView required WebEngine, but I was unaware that it required Positioning and WebChannel.

      I expect customers may run into this as well - and it would lead to a bad experience.
      Can there be a mechanism to automatically select dependent components in the installer?
      Playing around with the installer, it seems like this functionality (relationships between components, and enforcing that dependent components are installed)

      Attachments

        Issue Links

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

          Activity

            People

              releaseteam Qt Release Team
              kkyzivat Keith Kyzivat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes