[PySide] Overriding QWebEngine launch parameters
me at the-compiler.org
Thu Apr 2 23:32:53 CEST 2020
On Thu, Apr 02, 2020 at 09:21:02PM +0000, Marco Grubert wrote:
> 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.
> app = QApplication(sys.argv)
Most flags will be handled by Chromium inside the main process, not the per-tab
(Also, note you have four rather than two dashes there)
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PySide