diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-10-14 10:27:53 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-02-17 09:36:44 +0100 |
commit | 82357352b49fdcba80727feec441053f676b5af2 (patch) | |
tree | b61ec1a88445c5d8f5edb428cf573dfddd0986a7 /src/webenginequick/api/qquickwebengineprofile.cpp | |
parent | 35a1ffb234ef5dd32c00a30c7ab6236c926da8f9 (diff) | |
download | qtwebengine-82357352b49fdcba80727feec441053f676b5af2.tar.gz |
Introduce "--webEngineArgs" to prevent unexpected sub-process args
If there is no QTWEBENGINE_CHROMIUM_FLAGS env export we pass all args to
Chromium as "command line". However passing "-type=1" to qt application
with webenigne ends will crash since this arg is used for
sub-process type handling.
Prevent any accidental user args which can affect chromium switches
and from now on pass only args explicitly stated after "--webEngineArgs" option.
[ChangeLog] Command line arguments meant for webengine has to be now
stated after "--webEngineArgs" option.
Fixes: QTBUG-68820
Change-Id: I57b3921d2250f75d445ee7173566dadc41e4ca93
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/webenginequick/api/qquickwebengineprofile.cpp')
0 files changed, 0 insertions, 0 deletions