Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine problem allow camera Qt5.6
QtWS25 Last Chance

QtWebEngine problem allow camera Qt5.6

Scheduled Pinned Locked Moved Unsolved QtWebEngine
qtwebenginewebenginewebengine camqt5.6
2 Posts 2 Posters 1.5k 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.
  • Cleiton BuenoC Offline
    Cleiton BuenoC Offline
    Cleiton Bueno
    wrote on last edited by
    #1

    Because in QtWebEngine 5.6 the onFeaturePermissionRequested does not work anymore? I can not release microphone and camera using this slot.
    I tested on ARM Cortex-A9 as Desktop.

    1 Reply Last reply
    0
    • Wojciech KoprowskiW Offline
      Wojciech KoprowskiW Offline
      Wojciech Koprowski
      wrote on last edited by
      #2

      In my case this function works:

      onFeaturePermissionRequested:
      {
          console.log("onFeaturePermissionRequested");
          webEngineView.grantFeaturePermission(securityOrigin, feature, true);
      }
      

      Tested on Qt 5.6 and Qt 5.7 on Desktop and Embedded

      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