Accessing WebEngineView webChannel from C++
Unsolved
QML and Qt Quick
-
Is there a way to access the webChannel property of WebEngineView from C++? When I try to get the property, I see the following error:
QMetaProperty::read: Unable to handle unregistered datatype 'QQmlWebChannel*' for property 'QQuickWebEngineView::webChannel'
Looking through the Qt sources, I see that 'QQmlWebChannel*' is never declared or defined. Is this intentional? Why do we want access to this? So that we can enable web channel communication between C++ and a web view embedded in a QML WebEngineView. I guess that we could apply our own patch locally but I want to ensure that it's not a Bad Idea(tm).
TIA!