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

Installing QtWebView does not auto-select it's prerequisites

XMLWordPrintable

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

      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)

        1. qtbug-104650-webview-dependencies.7z
          1 kB
          Keith Kyzivat
        2. webengine-tooltip.png
          78 kB
          Keith Kyzivat
        3. webview-tooltip.png
          78 kB
          Keith Kyzivat
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes