diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-02-19 15:57:36 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-02-21 13:54:09 +0000 |
commit | 488b8e8ed01018c155812e5cfb06162a5e216c7a (patch) | |
tree | f84637def1d666a85b7fa116149e22cd4186e44b /.gitattributes | |
parent | 605d54e65a6e7a79afda0173cbce5346985903ab (diff) |
Separate argv for QCoreApplication and Chromium in WebEngineProcess
On Linux, Chromium manipulates argv, merging all command line
arguments into argv[0] and deleting the other arguments - see
set_process_title_linux.cc for the glory details. This potentially
confuses QCoreApplication::applicationDirPath(), which assumes
that argv[0] contains the binary path. This in turn caused a
regression in Qt 5.9.4 where resource files could not be located
anymore for QtWebEngineProcess.
Avoid this by making two distinct copies of argv already in main().
Task-number: QTBUG-66346
Change-Id: I24d103bb15e77db69faae3bcfc736df25e4ec5d3
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions