From the compiler, 1 Year ago, written in Python.
This paste is a reply to Re: client cert 2 from the compiler
- go back
Embed
Viewing differences between Re: client cert 2 and Re: Re: client cert 2
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebEngineWidgets import QWebEnginePage, QWebEngineClientCertificateSelection
from PyQt5.QtCore import pyqtSlot, qVersion, QT_VERSION_STR, PYQT_VERSION_STR
 \r\n@pyqtSlot(QWebEngineClientCertificateSelection)\r\ndef func(sel):\r\n    print(sel)\r\n 
app = QApplication([])
print("qVersion", qVersion())
print("QT_VERSION", QT_VERSION_STR)
print("PYQT_VERSION ", PYQT_VERSION_STR)

page = QWebEnginePage()
page.selectClientCertificate.connect(func)
PYQT_VERSION_STR)