Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Accessing WebEngineView webChannel from C++
Forum Updated to NodeBB v4.3 + New Features

Accessing WebEngineView webChannel from C++

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 406 Views
  • 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.
  • B Offline
    B Offline
    belazeebub
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0

    • Login

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