[PySide] Overriding QWebEngine launch parameters

Marco Grubert grubertm at hotmail.com
Thu Apr 2 23:21:02 CEST 2020


According to this documentation, https://doc.qt.io/qt-5/qtwebengine-debugging.html , it should be possible to pass Chromium flags to Qt using either environment variables or command-line arguments. With PySide2 5.14.1 I have not been able to get either one to work.

For example setting the disable-logging flag and then instantiating QWebEngineView will launch the QtWebEngineProcess without that flag.
    sys.argv.append("----disable-logging")
    app = QApplication(sys.argv)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20200402/1115bf31/attachment.html>


More information about the PySide mailing list