You need to connect to the featurePermissionRequested of the WebView, i.e.
onFeaturePermissionRequested: {
grantFeaturePermission(securityOrigin, feature, true);
}
The issue was with mismatch of QDeclarativeView and QQuickView use simultaneously. The issue is resolved once I changed all QDeclarativeView to QQuickView.
Thanks for replies