Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
6.2.3, 6.3.0
-
None
-
macOS 12.3.1
Apple M1 Pro
QtCreator 6.0.2
Qt:6.2.3,6.3.0
Description
I added
Privacy - Camra Usage Description
Privacy - Microphone Usage Description
into the info.plist.
I set every featurePermissionRequested to PermissionGrantedByUser
WebEnginePage::WebEnginePage(QObject *parent) : QWebEnginePage{parent} { connect(this, &WebEnginePage::featurePermissionRequested, this, &WebEnginePage::slotFeaturePermissionRequested); } void WebEnginePage::slotFeaturePermissionRequested(const QUrl &securityOrigin, QWebEnginePage::Feature feature) { qDebug() << "securityOrigin" << securityOrigin << feature; this- >setFeaturePermission(securityOrigin, feature, QWebEnginePage::PermissionGrantedByUser); }
it works when I launch the App in QtCreator, but it says "Qt Creator would like to access the microphone" , which is also wired. I think it should be "My Application would like to access the microphone".
What's worse, it never show the permission dialog after the application is deployed by macdeployqt tool and we can't use the microphone either.