Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Qt 6 No WebView plug-in found!
Forum Updated to NodeBB v4.3 + New Features

Qt 6 No WebView plug-in found!

Scheduled Pinned Locked Moved Solved Qt WebKit
4 Posts 2 Posters 2.8k 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.
  • A Offline
    A Offline
    Augustas
    wrote on last edited by Augustas
    #1

    Hello,
    I'm trying to use WebView in a Qt Quick app on Qt 6.3. The app compiles, however I get a "No WebView plug-in found!" error in the console and WebView object is blank.

    When installing Qt 6.3, in the maintainance tool, I've selected:

    • MSVC 2019 64-bit
    • Qt WebEngine
    • QtWebView
    • Qt Debug Information Files

    I have tried calling QtWebView::initialize(); before and after creating QGuiApplication .

    I have Qt += webview in my pro file. I've also tried adding QT_DEBUG_PLUGINS=1 as recommended in No WebView plug-in found! , however that doesn't fix the error nor does that provide any additional info in the console.

    The WebView works fine on Qt 5.14.2 and Qt 5.15.2. I can't get it to work on Qt 6.2.4 or on Qt 6.3.

    I've also checked Qt/6.3.0/msvc2019_64/lib folder, and Qt6WebView libs seems to be present there.

    After checking Qt WebView documentation I assume that WebView is supported on Qt 6. Any ideas on what could be wrong?

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      You might need to install Qt Positioning too: https://bugreports.qt.io/browse/QTBUG-102997

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      A 1 Reply Last reply
      2
      • JKSHJ JKSH

        You might need to install Qt Positioning too: https://bugreports.qt.io/browse/QTBUG-102997

        A Offline
        A Offline
        Augustas
        wrote on last edited by Augustas
        #3

        @JKSH Installing Qt Positioning packet in Maintainance Tool seems to fix the issue :) Thank you!

        edit: Just to add to your answer: it seems that you also need to install Qt WebChannel packet for WebView to work. So in total you need to install:

        • Qt WebEngine
        • Qt Positioning
        • Qt WebChannel
        • Qt WebView
        JKSHJ 1 Reply Last reply
        3
        • A Augustas

          @JKSH Installing Qt Positioning packet in Maintainance Tool seems to fix the issue :) Thank you!

          edit: Just to add to your answer: it seems that you also need to install Qt WebChannel packet for WebView to work. So in total you need to install:

          • Qt WebEngine
          • Qt Positioning
          • Qt WebChannel
          • Qt WebView
          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @Augustas said in Qt 6 No WebView plug-in found!:

          edit: Just to add to your answer: it seems that you also need to install Qt WebChannel packet for WebView to work. So in total you need to install:

          • Qt WebEngine
          • Qt Positioning
          • Qt WebChannel
          • Qt WebView

          Good catch. Thanks for letting us know!

          (I didn't notice it before because I usually install everything, for convenience)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          1

          • Login

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