Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3154

Unable to cancel web page authentication with PySide6 (handling QWebEnginePage::authenticationRequired())

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.x, 6.9.1
    • PySide
    • None
    • All

      In https://doc.qt.io/qt-6/qtwebengine-webenginewidgets-simplebrowser-example.html, it shows how to cancel an authentication request with the C++ code:

      > *auth = QAuthenticator();
      

      in a slot connected to

      [signal] void QWebEnginePage::authenticationRequired(const QUrl &requestUrl,
                                                                 QAuthenticator *authenticator)
      

      How is that done in PySide6? There doesn't appear to be an equivalent of "sip.assign(auth, QAuthenticator())".

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            gregcouch Greg Couch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes