[windeployqt] Copy v8 context snapshot
- Copy v8 context snapshot while creating package with windeployqt Fixes: QTBUG-116777 Change-Id: I707e1d147ebf0ba5ee63dd25218e23ac850efe45 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 8c468fc2ab3bdfb4f49eb9db10db0fb805d64180) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
9f3c74bfab
commit
9dd2dd4ab4
@ -1568,11 +1568,13 @@ static bool deployWebProcess(const QMap<QString, QString> &qtpathsVariables, con
|
|||||||
static bool deployWebEngineCore(const QMap<QString, QString> &qtpathsVariables,
|
static bool deployWebEngineCore(const QMap<QString, QString> &qtpathsVariables,
|
||||||
const Options &options, bool isDebug, QString *errorMessage)
|
const Options &options, bool isDebug, QString *errorMessage)
|
||||||
{
|
{
|
||||||
static const char *installDataFiles[] = {"icudtl.dat",
|
static const char *installDataFiles[] = { "icudtl.dat",
|
||||||
"qtwebengine_devtools_resources.pak",
|
"qtwebengine_devtools_resources.pak",
|
||||||
"qtwebengine_resources.pak",
|
"qtwebengine_resources.pak",
|
||||||
"qtwebengine_resources_100p.pak",
|
"qtwebengine_resources_100p.pak",
|
||||||
"qtwebengine_resources_200p.pak"};
|
"qtwebengine_resources_200p.pak",
|
||||||
|
isDebug ? "v8_context_snapshot.debug.bin"
|
||||||
|
: "v8_context_snapshot.bin" };
|
||||||
QByteArray webEngineProcessName(webEngineProcessC);
|
QByteArray webEngineProcessName(webEngineProcessC);
|
||||||
if (isDebug && platformHasDebugSuffix(options.platform))
|
if (isDebug && platformHasDebugSuffix(options.platform))
|
||||||
webEngineProcessName.append('d');
|
webEngineProcessName.append('d');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user