I attached an example project for reproduction:
When trying to instantiate a WebView in two different QML components i ended up with two import statements that are different only in the imported version:
- Page1Form.ui.qml: import QtWebView 1.15
- Page2Form.ui.qml: import QtWebView 1.13
In this setup, the when switching to a page the webview works as expected, but whenever I try to open the other page, it fails with error:
> QQmlComponent: Component is not ready
> qrc:/main.qml:60:5: QML StackView: push: qrc:/Page2Form.ui.qml:3 module "QtWebView" plugin "declarative_webview" not found
When I make sure the version is the same it just works.