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

module "QtWebView" plugin "declarative_webview" not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • WebView
    • None
    • Windows

    Description

      {{Warn : qrc:/misc/zcwebview_websocket.qml:2:1: module "QtWebView" plugin "declarative_webview" not found }}
      {{ import QtWebView 1.15}}^

      Somehow my application cannot find the declarative_webview plugin anymore. I upgraded from Qt 5.14.2 to Qt 5.15.2. I also needed to upgrade from visual studio 2017 to 2019. I did that. Most of my libraries have been compiled with MSVC2017. The application has now been compiled with MSVC2019.

      I don't understand whats wrong. Debugging the plugin loading doesn't give me a clue:

      Warn : Found metadata in lib C:/Qt/5.15.2/msvc2019_64/qml/QtQuick.2/qtquick2plugin.dll, metadata={{

      { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuick2Plugin", "debug": false, "uri": [ "QtQuick.2" ], "version": 331520 }

      Debug: loaded library "C:/Qt/5.15.2/msvc2019_64/qml/QtQuick.2/qtquick2plugin.dll" Warn : Found metadata in lib C:/Qt/5.15.2/msvc2019_64/qml/QtWebView/declarative_webview.dll, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QWebViewModule", "debug": false, "uri": [ "QtWebView" ], "version": 331520 } Debug: loaded library "C:/Qt/5.15.2/msvc2019_64/qml/QtWebView/declarative_webview.dll" Warn : Found metadata in lib C:/Qt/5.15.2/msvc2019_64/qml/QtWebSockets/declarative_qmlwebsockets.dll, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtWebSocketsDeclarativeModule", "debug": false, "uri": [ "QtWebSockets" ], "version": 331520 } Debug: loaded library "C:/Qt/5.15.2/msvc2019_64/qml/QtWebSockets/declarative_qmlwebsockets.dll" Warn : Found metadata in lib C:/Qt/5.15.2/msvc2019_64/qml/QtWebEngine/qtwebengineplugin.dll, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtWebEnginePlugin", "debug": false, "uri": [ "QtWebEngine" ], "version": 331520 } Debug: loaded library "C:/Qt/5.15.2/msvc2019_64/qml/QtWebEngine/qtwebengineplugin.dll" }}}}

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            hansdijkema Hans Dijkema
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes