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 328 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

        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 Reply Quote 0
        • K Offline
          kugiigi @ari
          last edited by

          @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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post