• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Weird Issue with c++ vs qml Webview

Scheduled Pinned Locked Moved App Development
2 Posts 2 Posters 185 Views 1 Watching
Loading More Posts
  • 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
      ari
      last edited by 3 Oct 2022, 22:32

      Ok, I know its likely that this is a bug, that no one here can help with, but I'm not sure where I would submit the bug report, so any hints on that will also be appreciated.

      The camera doesnt work on C++ projects but does with qml only (with the WebEngineView).

      Steps to replicate:

      • Create 'qml only' and 'c++' clickable projects.
      • Change apparmor permissions for both
      • Add WebEngineView to Main.qml of both
      • Point url to site with camera access
      • Discover that: qml project works with camera, c++ doesn't.

      (error seems to show as: "NotReadableError: could not start video source")

      Is this a WebEngineView bug, c++ bug, clickable... Is it a feature!?

      Any help would be greatly appreciated.

      K 1 Reply Last reply 4 Oct 2022, 05:52 Reply Quote 0
      • K Offline
        kugiigi @ari
        last edited by 4 Oct 2022, 05:52

        @ari Maybe it has something to do with chromium flags? Morph uses C++ though not exactly the clickable template.

        1 Reply Last reply Reply Quote 0
        2 out of 2
        • First post
          2/2
          Last post