2
votes

what is correct way to ignore certificate errors in qml webEngineView? this one didnt work for me! qt documentation is so bad about web engine view here is certificate page : certificate error

WebEngineView {
        id:webView
        certificateError: WebEngineCertificateError.ignoreCertificateError()
}
1

1 Answers

3
votes

You have to do it when the WebEngineView notifies through the signal certificateError:

WebEngineView {
    id:webView
    onCertificateError: error.ignoreCertificateError()
}